Contingency Tables
Contingency Tables
Elementary Statistics
Twelfth Edition
by Mario F. Triola
Test of Independence
(O E ) 2
2
E
(row total)(column total)
E
(grand total)
P-Values
P-values are typically provided by technology, or a range
of P-values can be found from Table A-4.
Critical Values
1. Found in Table A-4 using
degrees of freedom = (r – 1)(c – 1)
r is the number of rows and c is the number of
columns
2. Tests of Independence are always right-tailed.
66 182
47.478
253
O E 54 47.478 5 6.174
2 2 2
2
E 47.478 6.174
58.393
Critical Value: The critical value of χ2 = 7.815 is found in Table A-4 with α = 0.05
and degrees of freedom of
Because the test statistic does fall in the critical region, we reject the null
hypothesis.
r 1 c 1 4 1 2 1 3
A graphic of the chi-square distribution is on the next slide.
Test of Homogeneity
The test statistic, critical value, and P-value are the same
as those found before, and we should reject the null
hypothesis that the four treatments have the same success
rate.
b c 1 10 15 1
2 2
2
0.640
bc 10 15
sisi tidak pakai protektor
The test statistic does not exceed the critical value, so we fail
to reject the null hypothesis.