A random sample of \(200\) observations is classified into five categories. The claimed probabilities are \((0.40,0.25,0.20,0.10,0.05)\), and the observed counts are \((100,40,30,20,10)\). All expected counts meet the usual chi-square minimum.
a) State the hypotheses for a goodness-of-fit test.
b) Compute the expected counts, \(\chi^2\), and \(df\).
c) Software gives \(p\approx0.0497\). State the decision at \(\alpha=0.05\) and at \(\alpha=0.01\).
d) Which category contributes the most to \(\chi^2\), and in what direction does it depart from expectation?
e) Explain why the two significance levels can produce different decisions even though the data and p-value are unchanged.
Hints
- Convert the full claimed probability vector into expected counts before comparing categories.
- Keep each category's contribution visible so you can diagnose which departure drives the statistic.
- Compare the same p-value separately with each significance level.
- Distinguish the numerical evidence in the data from the decision rule chosen before interpreting that evidence.
Solution
1. \(H_0\): the population category probabilities are \((0.40,0.25,0.20,0.10,0.05)\). \(H_a\): the population distribution differs from that model.
2. The expected counts are \((80,50,40,20,10)\).
3. The contributions are \(\frac{400}{80}=5\), \(\frac{100}{50}=2\), \(\frac{100}{40}=2.5\), \(0\), and \(0\), so \(\chi^2=9.5\).
4. With five categories, \(df=4\).
5. At \(\alpha=0.05\), \(0.0497<0.05\), so reject \(H_0\). At \(\alpha=0.01\), \(0.0497>0.01\), so fail to reject \(H_0\).
6. Category 1 contributes the most, with contribution \(5\); its observed count \(100\) is above its expected count \(80\).
7. The p-value summarizes the same sample evidence in both decisions. Changing \(\alpha\) changes the preset threshold required for rejection, not the data or the strength of evidence represented by the p-value.
Answer
a) \(H_0\): probabilities \((0.40,0.25,0.20,0.10,0.05)\); \(H_a\): the distribution differs.
b) Expected counts \((80,50,40,20,10)\); \(\chi^2=9.5\); \(df=4\).
c) Reject at \(\alpha=0.05\); fail to reject at \(\alpha=0.01\).
d) Category 1 contributes the most, and it is above expectation.
e) The significance level is the decision threshold; changing it can change the decision without changing the observed evidence or p-value.