A traffic study predicts that accidents at intersections should occur in a ratio for four-way, Y- and three-way intersections. At intersections with equal traffic flow the observed counts were
| Intersection type | 4-way | Y | 3-way |
|---|---|---|---|
| Observed | 116 | 60 | 24 |
Test the prediction: which chi-square test applies, what is the value of , and what do you conclude?
Pick the right test. There is a single categorical variable (intersection type) and a theoretical distribution to compare against, not two variables cross-tabulated. That makes this a chi-square goodness-of-fit test, not a test of independence. The distinction matters because it fixes the degrees of freedom as rather than .
Build the expected counts from the ratio. The total is , and splits a whole into sixths:
All expected counts exceed , so the chi-square approximation is safe. Keep the exact fractions and rather than the rounded and , or rounding error will creep into the statistic.
Compute each cell's contribution to .
Add them up. Over the common denominator :
The value is exactly , not merely rounded to it. Notice the three-way category, with the smallest expected count, contributes the most () even though its raw shortfall is smaller than the four-way surplus - that is the weighting at work.
Compare with the critical value. With categories, . The critical value at is . For the -value has the closed form .
State the conclusion. Since (equivalently ), we fail to reject the null hypothesis. The observed counts are consistent with the predicted ratio - though only barely, so a larger sample would be worth collecting.
Need to solve a different problem like this? Open the solver →