Is it statistically significant?
The chi-square test
Dr Gosia Turner
Student Data Management and Analysis
4 February 2014
14 September 2010
Page 1
Why chi-square?
4 February 2014
Page 2
Observed vs. expected
4 February 2014
Page 3
Steps to follow
• State the hypothesis
• Calculate the expected values
• Use the observed and expected values to calculate the
chi-square test statistic
• Establish the significance level you need (usually 95%
p = 0.05) and the number of degrees of freedom
• Compare the chi-square statistic with the critical value
from the table
• Make a decision about your hypothesis
4 February 2014
Page 4
Hypothesis
Observed values
Hypothesis Expected values
Calculation of chi-square
Degrees of freedom
Compare with the table
Conclusion
4 February 2014
Page 5
Hypothesis
Observed values
Observed values Expected values
Calculation of chi-square
Degrees of freedom
Compare with the table
Conclusion
4 February 2014
Page 6
Hypothesis
Observed values
Expected values Expected values
Calculation of chi-square
Degrees of freedom
Compare with the table
Conclusion
4 February 2014
Page 7
Hypothesis
Observed values
Calculation Expected values
Calculation of chi-square
Degrees of freedom
Compare with the table
Conclusion
4 February 2014
Page 8
Hypothesis
Observed values
Degrees of freedom Expected values
Calculation of chi-square
Degrees of freedom
Compare with the table
Conclusion
df = (rows-1)x(columns-1)
4 February 2014
Page 9
Hypothesis
Observed values
Table of critical values Expected values
Calculation of chi-square
Degrees of freedom
Compare with the table
Conclusion
4 February 2014
Page 10
Hypothesis
Observed values
Is it significant? Expected values
Calculation of chi-square
Degrees of freedom
Compare with the table
Conclusion
4 February 2014
Page 11
Steps in Excel
4 February 2014
Page 12
Limitations of chi-square
4 February 2014
Page 13
Limitations of chi-square (2)
Degree classification
Fee status First 2.1 2.2 Total
Home 21 91 2 114
EU 0 5 1 6
Overseas 5 1 0 6
Total 26 97 3 126
Degree classification
Fee status First No First Total
Home 21 93 114
International 5 7 12
Total 26 100 126
4 February 2014
Page 14