CellFrequency1762100376448
The null hypothesis to be tested is as follows:
H0:p1=0.3,p2=0.3,p3=0.2,p4=0.2
We seek a test statistic that will detect a lack of fit of the observed cell counts to our hypothesized (null) expected cell counts based on the hypothesized cell probabilities.
These expected values are:
E(n1)=np1=300(0.3)=90
E(n2)=np2=300(0.3)=90
E(n3)=np3=300(0.2)=60
E(n4)=np4=300(0.2)=60
χ2=all cells∑expected(observed−expected)2=i∑E(ni)(ni−E(ni))2
χ2=90(76−90)2+90(100−90)2+60(76−60)2+60(48−60)2
χ2=90196+90100+60256+60144
χ2=45448
χ2≈9.95565. 9.9556
Comments