1722 Use this calculation table for the chisquare test for g
17.22: Use this calculation table for the chi-square test for goodness of fit to complete this exercise.
Observed expected
Category (O) (E) O –E (O-E)2 (O – E)2
E
1 48 60
2 46 30
3 6 10
a. Calculate degrees of freedom for this chi-square test for goodness of fit.
b. Perform all of the calculations to complete this table.
c. Compute the chi-square statistic.
Solution
a)
df = n - 1 =3 - 1
df = 2 [answer]
******************
b)
Consider the table:
c)
Summing the last column,
chi^2 = Sum [(O - E)^2/E] = 12.533333 [answer]
| Category | O | E | (O-E) | (O-E)^2 | (O-E)^2/E |
| 1 | 48 | 60 | -12 | 144 | 2.4 |
| 2 | 46 | 30 | 16 | 256 | 8.533333 |
| 4 | 6 | 10 | -4 | 16 | 1.6 |
