A sweet manufacturer claims the colour proportions shown in the table. A random sample of 300 sweets gives the observed counts. Compute the chi-square goodness-of-fit statistic χ² for H₀: the claimed proportions are correct.
Chi-square tests worksheet with answers
A die is rolled 240 times to test whether it is fair. The counts of each face are shown. Compute the chi-square goodness-of-fit statistic χ² for H₀: each face has probability 1/6.
The contingency table shows observed counts. For a chi-square test of independence, find the expected count E for the cell “night shift, minor”.
The contingency table shows observed counts. Compute the chi-square statistic χ² for the test of independence between the row and column variables. Do not use a continuity correction.
A chi-square goodness-of-fit test compares observed counts in 11 categories with fully specified expected proportions (no parameters are estimated from the data). How many degrees of freedom df does the test have?
A chi-square test of independence is carried out on a contingency table with 2 rows and 4 columns (not counting the totals). How many degrees of freedom df does the test have?
Answer key
- 1. χ² = 20.64
- 2. χ² = 18.55
- 3. E = 28.11
- 4. χ² = 4.41
- 5. df = 10
- 6. df = 3
Full step-by-step solutions: practise this topic on examproblems.com.