Chi-square tests worksheet with answers

Free printable Chi-square tests worksheet: 6 problems from easy to exam level, with an answer key. Print it or save it as a PDF.

For teachers: free to print, copy and use in class. Every new worksheet has new values and its own answer key. A link to ExamProblems on your course page is appreciated.

Name: ____________________   Date: ____________

1.Easy
colourbrownyellowredgreenobserved13911310048claimed40%25%20%15%

A sweet manufacturer claims the colour proportions shown in the table. A random sample of 400 sweets gives the observed counts. Compute the chi-square goodness-of-fit statistic χ² for H₀: the claimed proportions are correct.

n = 400k = 4
χ² =
2.Easy
face123456observed354452615454

A die is rolled 300 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.

n = 300k = 6
χ² =
3.Medium
improvednot improvedTotalnew drug5248100placebo251540Total7763140

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.

N = 1402 × 2
χ² =
4.Medium
lowmediumhighTotalurban3025863rural37371488Total676222151

The contingency table shows observed counts. For a chi-square test of independence, find the expected count E for the cell “urban, high”.

row total = 63column total = 22N = 151
E =
5.Hard
yesnoTotalline 1202040line 2273360line 35347100Total100100200dfα = 0.05α = 0.0113.8416.63525.9919.21037.81511.34549.48813.277511.07015.086612.59216.812714.06718.475815.50720.090916.91921.6661018.30723.209

The table shows observed counts. Test at α = 0.01 whether the two variables are independent (no continuity correction). Compute the test statistic χ², then compare it with the critical value from the table.

N = 2003 × 2α = 0.01
χ² =
6.Hard

A chi-square test of independence is carried out on a contingency table with 2 rows and 3 columns (not counting the totals). How many degrees of freedom df does the test have?

2 × 3
df =

Answer key

  1. 1. χ² = 11.85
  2. 2. χ² = 8.36
  3. 3. χ² = 1.273
  4. 4. E = 9.179
  5. 5. χ² = 0.96
  6. 6. df = 2

Full step-by-step solutions: practise this topic on examproblems.com.