Test of Independence Determine the degree of freedom Observe
Test of Independence
Determine the degree of freedom.
| Observed | A | B | C | Total |
|---|---|---|---|---|
| X | 7 | 18 | 51 | 76 |
| Y | 18 | 35 | 59 | 112 |
| Z | 34 | 26 | 52 | 112 |
| Total | 59 | 79 | 162 | 300 |
Solution
1. expected: contingency table 1 14.9 20.0 41.0 2 22.0 29.5 60.5 3 22.0 29.5 60.5 The test hypothesis is Ho: independent Ha: dependent The test statistic is chi-square = 16.8 degrees of freedom = 4 probability = 0.002 Since the p-value is small, we reject Ho. So we cannot conclude that it is independent.