Chi-Square Test Math Example 1
Follow the full solution, then compare it with the other examples linked below.
Example 1
mediumA die is rolled 60 times. Observed: 1→8, 2→12, 3→9, 4→11, 5→13, 6→7. Conduct a chi-square goodness-of-fit test at .
Solution
- 1 Expected under (fair die): for each outcome
- 2
- 3
- 4 df ; critical value ; since , fail to reject
Answer
. Fail to reject . No evidence the die is unfair.
The chi-square goodness-of-fit test compares observed frequencies to expected frequencies under a null model. Large values (in the critical region) indicate the observed distribution differs from expected. Degrees of freedom = (categories - 1).
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 2 hard
A 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
Example 4 hardA survey of movie preferences across three age groups produces a 3×4 contingency table (3 age groups