Professional Documents
Culture Documents
3 Hypothesis Testing
Chi-square test
Dr. Jyotika Doshi
χ2 Applications
(Pronounced “kie-square”)
• Parametric test (for Quantitative data)
– Test for variance in a normal population (1-sample
variance test) (n 1) s 2
2
2
• Non-parametric tests (for Qualitative data)
– Compares observed sample frequencies with
expected frequencies under assumption of the null
hypothesis H0 to be true
2
𝑂−𝐸
– Test statistic: χ2 = , O: observed frequency,
𝐸
E: expected frequency under null hypothesis
• fe using probability
– Probability p=(x/n) frequency fe= x = np
– x: number of favorable outcomes
– n: total outcomes
• α=0.05
• Test statistic: χ2 = ∑ ( ((O-E)^2) / E)