Professional Documents
Culture Documents
Chi-Squared Test Worked Example
Chi-Squared Test Worked Example
Row total
37
193
230
Calculate the chi-squared value.
Category
Observed
(O)
Expected
(E)
OE
15
100
22
93
18.4
96.6
18.4
96.6
3.4
3.4
3.6
3.6
Yates
correction*
(OE)0.5
3.9
2.9
3.1
4.1
Square of
corrected
difference
15.21
8.41
9.61
16.81
Square of
corrected
difference/E
0.827
0.087
0.522
0.174
1.61
= 1.61
*Yates correction applies for a 2 x 2 table.
Significance level
5%
2%
3.84
5.41
5.99
7.82
1%
6.64
9.21
Conclusion
We cannot reject the null hypothesis, so there is not a significant difference between the observed and
expected results at the 5 per cent level of probability.
Students taking vitamin C tablets do not have a significantly different chance of catching a cold compared
to students not taking vitamin C tablets.