CHI-SQUARE TEST
STAT 323
Nonparametric Statistics
Department of Mathematics & Statistics
College of Arts & Sciences
University of Southeastern Philippines
Goodness of Fit Test
Chi-square Test
Page 2
Goodness of Fit Test
Chi-square Test
Page 3
Goodness of Fit Test
Chi-square Test
Page 4
Goodness of Fit Test
Example.
Chi-square Test
Page 5
Goodness of Fit Test
Chi-square Test
Page 6
Goodness of Fit Test
Chi-square Test
Page 7
Goodness of Fit Test
Chi-square Test
Page 8
Goodness of Fit Test
Using SPSS:
Chi-square Test
Page 9
Goodness of Fit Test
Chi-square Test
Page 10
Goodness of Fit Test
SPSS Output:
Chi-square Test
Page 11
Goodness of Fit Test
SPSS Output:
Chi-square Test
Page 12
Goodness of Fit Test
Chi-square Test
Page 13
Test for Independence
Chi-square Test
Page 14
Test for Independence
Chi-square Test
Page 15
Test for Independence
Chi-square Test
Page 16
Test for Independence
Chi-square Test
Page 17
Test for Independence
Chi-square Test
Page 18
Test for Independence
Chi-square Test
Page 19
Test for Independence
Chi-square Test
Page 20
Test for Independence
Example.
Chi-square Test
Page 21
Test for Independence
Chi-square Test
Page 22
Test for Independence
Using SPSS:
Chi-square Test
Page 23
Test for Independence
Chi-square Test
Page 24
Test for Independence
SPSS Output:
Chi-square Test
Page 25
Test for Independence
Chi-square Test
Page 26
Test of Several Proportions
Chi-square Test
Page 27
Test of Several Proportions
Chi-square Test
Page 28
Test of Several Proportions
Chi-square Test
Page 29
Test of Several Proportions
Chi-square Test
Page 30
Test of Several Proportions
Chi-square Test
Page 31
Test of Several Proportions
Chi-square Test
Page 32
Test of Several Proportions
Chi-square Test
Page 33
Test of Several Proportions
Chi-square Test
Page 34
Test of Several Proportions
Example.
Chi-square Test
Page 35
Test of Several Proportions
Chi-square Test
Page 36
Test of Several Proportions
Chi-square Test
Page 37
Test of Several Proportions
Using SPSS: (The process is the same with
Test for Independence)
Chi-square Test
Page 38
Test of Several Proportions
Chi-square Test
Page 39
Test of Several Proportions
Chi-square Test
Page 40
Test of Several Proportions
Marascuilo Procedure
Steps:
1. Compute differences 𝑝𝑖 − 𝑝𝑗 , (where i is not equal to
j) among all r (r – 1)/2 pairs of proportions. The
absolute values of these differences are the test
statistics.
2. Pick a significance level and compute the
corresponding critical values for the Marascuilo
procedure from
2
𝑝𝑖 (1 − 𝑝𝑖 ) 𝑝𝑗 (1 − 𝑝𝑗 )
𝑟𝑖𝑗 = 𝜒1−𝛼,𝑟−1 +
𝑛𝑖 𝑛𝑗
Chi-square Test
Page 41
Test of Several Proportions
3. Compare each of the are the r (r – 1)/2 test
statistics against its corresponding critical 𝑟𝑖𝑗
value. Those pairs that have a test statistic that
exceeds the critical value are significant at the 𝛼
level.
Chi-square Test
Page 42
Test of Several Proportions
Applying the Marascuilo Procedure:
Chi-square Test
Page 43
Test of Several Proportions
Step 1. Compute the absolute differences of 𝑝𝑖 − 𝑝𝑗
Chi-square Test
Page 44
Test of Several Proportions
Step 2. Compute critical values.
2 2
𝜒1−𝛼,𝑟−1 = 𝜒0.95,3 = 7.815
Chi-square Test
Page 45
Test of Several Proportions
Step 3. Compare test statistics against
corresponding critical values.
Chi-square Test
Page 46
Test of Several Proportions
Interpretation. The test scores are distributed
differently for public and private school.
Chi-square Test
Page 47