River City Transit claims that the primary fare-payment methods of its \(8000\) registered riders follow the distribution \((0.50,0.25,0.15,0.10)\) for transit card, mobile app, cash, and other, respectively. The agency takes a simple random sample of \(200\) distinct registered riders. Each sampled rider is classified into exactly one primary payment category. The observed counts are \((118,40,20,22)\).
a) State the hypotheses for a chi-square goodness-of-fit test.
b) Check the random-sample, \(10\%\), category, and expected-count conditions before testing.
c) Compute the expected counts, \(\chi^2\), and \(df\).
d) For \(df=3\), the \(5\%\) critical value is \(7.815\). State the decision and conclusion at \(\alpha=0.05\).
e) Transit card has the largest raw residual magnitude. Which category has the largest chi-square contribution? Explain why those answers differ.
f) State the population to which the conclusion can reasonably be generalized.
Hints
- Check how the sample was selected and how large it is relative to the stated population before computing the statistic.
- Verify that the response categories form one complete, nonoverlapping classification of the recorded variable.
- Convert the claimed probabilities into expected counts and inspect the smallest expectation before testing.
- Compare standardized chi-square contributions rather than assuming the largest raw residual must dominate.
- Match the scope of the final conclusion to the population from which the random sample was drawn.
Solution
1. The null hypothesis is that the population probabilities are \((0.50,0.25,0.15,0.10)\); the alternative is that the population distribution differs from this model.
2. A simple random sample is stated. The sample size \(200\) is less than \(10\%\) of \(8000\). Each rider is placed in exactly one of the four categories, so the categories are mutually exclusive and exhaustive for the recorded variable.
3. The expected counts are \((100,50,30,20)\), all at least \(5\), so the expected-count condition is met.
4. The category contributions are \(3.24\), \(2\), approximately \(3.333\), and \(0.2\). Thus \(\chi^2\approx8.773\).
5. With four fully specified categories, \(df=4-1=3\).
6. Since \(8.773>7.815\), reject the null hypothesis at \(\alpha=0.05\). The sample provides statistically significant evidence that the current primary fare-payment distribution differs from the claimed distribution.
7. Cash contributes the most, approximately \(3.333\), even though transit card has the largest raw residual magnitude. Cash has a smaller expected count, so its squared residual is divided by a smaller denominator.
8. Because the sample was randomly drawn from the agency's registered riders, the conclusion can reasonably be generalized to that registered-rider population, not automatically to all people who use transit in the city.
Answer
a) \(H_0\): The primary fare-payment probabilities are \((0.50,0.25,0.15,0.10)\). \(H_a\): The distribution differs from that model.
b) The simple random sample condition is met; \(200<0.10(8000)\); each rider is classified into exactly one of four exhaustive categories; expected counts \((100,50,30,20)\) are all at least \(5\).
c) Expected counts: \((100,50,30,20)\); \(\chi^2\approx8.773\); \(df=3\).
d) Reject \(H_0\). There is statistically significant evidence at the \(0.05\) level that the registered riders' primary fare-payment distribution differs from the claimed model.
e) Cash contributes the most, approximately \(3.333\), even though transit card has the largest raw residual magnitude; cash's smaller expected count makes its standardized contribution larger.
f) The conclusion can reasonably be generalized to River City Transit's registered riders.