Chi-Square Test Math Example 4
Follow the full solution, then compare it with the other examples linked below.
Example 4
hardA survey of movie preferences across three age groups produces a 3ร4 contingency table (3 age groups, 4 movie genres). State and , calculate degrees of freedom, and explain what a significant result would mean.
Solution
- 1 : age group and movie genre preference are independent
- 2 : age group and movie genre preference are associated (not independent)
- 3 Degrees of freedom:
- 4 Significant result: reject ; conclude that movie genre preference varies by age group โ the distribution of genre preferences is different for different ages
Answer
: independence. df=6. Significant result โ age and genre preference are associated.
The chi-square test of independence asks whether two categorical variables are related. Degrees of freedom = (r-1)(c-1). A significant result means the variables are not independent โ knowing someone's age provides information about their genre preference.
About Chi-Square Test
A hypothesis test that compares observed frequencies to expected frequencies using the chi-square statistic to assess independence or goodness of fit.
Learn more about Chi-Square Test โMore Chi-Square Test Examples
Example 1 medium
A die is rolled 60 times. Observed: 1โ8, 2โ12, 3โ9, 4โ11, 5โ13, 6โ7. Conduct a chi-square goodness-o
Example 2 hardA 2ร2 table: Men: 30 prefer A, 20 prefer B. Women: 15 prefer A, 35 prefer B. Test independence of ge
Example 3 easyFor a chi-square test with observed=15, expected=20 for one category, calculate that category's cont