DA0-001 practice question 20 of 35

Which of the following statistical methods requires two or more categorical variables?

Full set: 361 questions

Domain Data Analysis

Answer options
A: Simple linear regression
B: Chi-squared test Correct answer
C: Z-test
D: Two-sample t-test
Correct Answer:
B. Chi-squared test
Explanation

The Chi-squared (χ²) test of independence is a non-parametric statistical hypothesis test used to determine if there is a significant association between two or more categorical variables. The test works by comparing the observed frequencies of data in a contingency table to the frequencies that would be expected if the variables were independent of each other. This method is specifically designed for analyzing nominal or ordinal data, making it the correct choice when dealing with multiple categorical variables.

Why Incorrect

A. Simple linear regression is used to model the relationship between one continuous dependent variable and one independent variable (which is typically also continuous).
C. A Z-test is used to compare a sample mean to a known population mean or to compare two population means, requiring continuous data, not categorical variables.
D. A two-sample t-test compares the means of two independent groups, which involves one categorical variable (to define the two groups) and one continuous variable (the outcome being measured).

References

1. Lane, D. M. (n.d.). Online Statistics Education: A Multimedia Course of Study. Rice University. Chapter 17, "Chi Square," Section "Chi Square Test of Independence." Retrieved from http://onlinestatbook.com/2/chisquare/independence.html. This section explicitly states, "The Chi-square test of independence is used to determine if there is a significant relationship between two nominal (categorical) variables."

2. The Pennsylvania State University. (n.d.). STAT 500: Applied Statistics. Eberly College of Science. Lesson 8, "Chi-Square Test." This lesson describes the Chi-squared test as a method for analyzing the relationship between two categorical variables presented in a two-way table.

3. Diez, D. M., Barr, C. D., & Çetinkaya-Rundel, M. (2019). OpenIntro Statistics (4th ed.). OpenIntro, Inc. Chapter 7, "Inference for categorical data," Section 7.3, "Testing for independence in two-way tables" (pp. 288-295). This section details the use of the chi-square test for evaluating the association between two categorical variables.

4. Carnegie Mellon University. (n.d.). Open Learning Initiative: Statistical Reasoning. Unit: Inference for Relationships, Module: Chi-Square Test for Independence. The module introduction states, "In this module, we will learn a new hypothesis test, called the chi-square test for independence, which is used for examining the relationship between two categorical variables."

Scroll to Top