CompTIA Data+ (DA0-001) — Question 356
An analyst wants to test the association between the number of doors in a car and the number of gears in the car. Which of the following is the best test to use?
Answer options
- A. f-test
- B. Regression test
- C. Chi-squared test
- D. Z-test
Correct answer: C
Explanation
The Chi-squared test is suitable for examining the association between two categorical variables, in this case, the number of doors and the number of gears, which can be treated as categories. The f-test, regression test, and Z-test are not appropriate as they are used for different types of data or hypotheses that do not align with the categorical nature of the variables in this scenario.