Perform a chi-squared goodness of fit test by comparing observed frequencies with the frequencies expected under a proposed categorical distribution. Use a GDC to calculate the test statistic and p-value, then compare the p-value with the significance level.
This is SL 4.11 Hypothesis testing and may appear in GDC-active Paper 1 or Paper 2 questions.
The mechanism is based on discrepancies between observed and expected counts. Each category contributes , so larger discrepancies relative to the expected count increase . A large statistic therefore produces a small p-value and stronger evidence against .
| Step | Required method |
|---|---|
| 1. State hypotheses | : the data follows the stated distribution. : the data does not follow the stated distribution. |
| 2. Find expected frequencies | Calculate each expected frequency using , where is the total frequency and is the predicted probability. |
On the GDC, enter the observed and expected lists in the goodness-of-fit routine. Report both and , keeping full precision until the final answer.
For example, suppose the observed frequencies are , while the expected frequencies are . Then
With , the GDC gives . Since , there is insufficient evidence at the significance level to reject ; the data is consistent with the proposed distribution.
Exam technique: Show the hypotheses, expected frequencies, degrees of freedom, p-value, comparison with , and a contextual conclusion. A common misconception is to say “accept .” Instead, write “insufficient evidence to reject .”
