A researcher compares the distribution of political party preference (Democrat, Republican, Independent) between two cities using a chi-square test. Both cities are sampled independently. This test is a chi-square test for
- Ahomogeneity, because two independent populations are compared on one variableCorrect
- Bindependence, because party preference and city are both measured on the same individuals
- Cgoodness of fit, because party preference has three categories in each city sample
- Dassociation, because the test determines causation between city and party preference
Why A is right
A chi-square test for homogeneity compares the distribution of a categorical variable across two or more independently sampled populations. Here, the two cities are separate populations, and party preference is the categorical variable being compared. The question is whether the distribution of party preference is the same (homogeneous) in both cities.
Why the other 3 choices miss
- B
- Incorrect. A test for independence examines whether two variables measured on the same individuals are associated. Here, the two cities are separate samples, not two variables measured on the same people.
- C
- Incorrect. A goodness-of-fit test compares one sample's distribution to a hypothesized distribution. Having three categories does not make it goodness of fit; this test involves two samples, not one sample compared to a theoretical distribution.
- D
- Incorrect. Chi-square tests assess association, not causation. Furthermore, the correct classification is homogeneity (comparing distributions across populations), not simply 'association.'