Chi-Square Distribution
Chi-Square Distribution
1. State the null hypothesis. This states that the variables in the
contingency table are independent (or the classification of one
variable does not affect the classification of the other).
E =(R)(C)
N
Where:
E= Estimated or expected number for the cell in ith row and jth column
R=Row total
C=Column total
N=Grand total
Conti…..
E
Conti….
4. Find the critical value from chi-squared tables.
α =0.05
degrees of freedom = df = (no. of rows minus - 1) × (no. of columns
-1) = ( r-1 )( c-1 ).
With 1 degree of freedom and α =0.05, from tables χ2 = 3.841
Conti…….
5. Compare the test statistic with table statistic.
If the calculated test statistic (χ2 ) test > the critical value from χ2
table, then the null hypothesis is rejected and the alternative
hypothesis is favoured .
In our example, test value of χ2 =22.14 This is greater than the table
value of 3.841. Hence we reject HO in favour of HA , that is that
divorce and smoking are related.
Cont…..
df Level of Signicance