A city transportation office surveyed a random sample of 300 adult commuters in the city. Each commuter reported their main commute mode and whether they are satisfied with their commute. The results are shown below.
| | Car | Transit | Bike | Total |
| --- | --- | --- | --- | --- |
| Satisfied | 52 | 38 | 30 | 120 |
| Not satisfied | 68 | 82 | 30 | 180 |
| Total | 120 | 120 | 60 | 300 |
A chi-square test of independence is carried out at the alpha = 0.05 level. All expected counts are at least 24, and the test statistic is chi-square = 6.53. Which of the following gives the correct degrees of freedom, p-value, and conclusion?
- Adf = 5 and the p-value is about 0.26; since 0.26 > 0.05, fail to reject H0; there is not convincing evidence of an association.
- Bdf = 2 and the p-value is about 0.04; since 0.04 < 0.05, reject H0; there is convincing evidence of an association between commute mode and satisfaction among the city's adult commuters.Correct
- Cdf = 2 and the p-value is about 0.04; reject H0; there is convincing evidence that a commuter's mode of travel causes a change in satisfaction.
- Ddf = 2 and the p-value is about 0.04; reject H0; there is about a 4% probability that commute mode and satisfaction are independent.
Why B is right
For a two-way table, df = (rows - 1)(columns - 1) = (2 - 1)(3 - 1) = 2. The expected counts are 48, 48, 24 in the Satisfied row and 72, 72, 36 in the Not satisfied row, so the contributions are 0.333 + 2.083 + 1.5 + 0.222 + 1.389 + 1.0, which gives chi-square = 6.53. With df = 2, P(chi-square >= 6.53) is about 0.038. That is less than 0.05, so we reject H0 and conclude that there is convincing evidence of an association between commute mode and satisfaction in the population of the city's adult commuters.
Why the other 3 choices miss
- A
- Uses df = (number of cells) - 1 = 5 instead of (r - 1)(c - 1) = 2. With df = 5 the p-value would be about 0.26, which leads to the wrong decision.
- C
- The df, p-value, and decision are right, but the conclusion claims causation. This was an observational survey with no random assignment, so it supports only an association.
- D
- Misreads the p-value as the probability that H0 is true. The p-value is the probability of getting a chi-square statistic of 6.53 or larger if H0 (independence) were true.