Use the Chi-square (X^2) method.
X^2 = ∑ (O-E)^2/E, where O = observed frequency and E = expected frequency.
∑ = sum of all the cells.
E = (column total * row total)/grand total
df = n - 1, where n = number of cells
Look up value in X^2 table in the back of your textbook.
A sample of 500 drivers was asked whether or not they speed while driving. The following tables gives a two-way classification:
Speed Never speed
Male 222 78
Female 128 72
We wish to test whether gender and speeding are related at the 1% significance level.
1 answer