Which color contributes most to the chi-square test statistic?

Check the final answer first, then review the worked steps.

Answer

E

Step-by-step solution

  1. Determine the total number of candies: First, calculate the total number of candies in the bag by summing the observed counts for each color: $17 + 24 + 20 + 25 + 14 = 100$.
  1. Calculate the expected frequency: The manufacturer claims an equal number of each color. Since there are 5 colors and 100 total candies, the expected frequency ($E$) for each color is $\frac{100}{5} = 20$.

3. Calculate the chi-square contribution for each color: The contribution of each category to the chi-square statistic is given by the formula $\frac{(O - E)^2}{E}$, where $O$ is the observed frequency and $E$ is the expected frequency.
- For Red: $\frac{(17 - 20)^2}{20} = \frac{(-3)^2}{20} = \frac{9}{20} = 0.45$
- For Green: $\frac{(24 - 20)^2}{20} = \frac{4^2}{20} = \frac{16}{20} = 0.80$
- For Blue: $\frac{(20 - 20)^2}{20} = \frac{0^2}{20} = 0$
- For Yellow: $\frac{(25 - 20)^2}{20} = \frac{5^2}{20} = \frac{25}{20} = 1.25$
- For Orange: $\frac{(14 - 20)^2}{20} = \frac{(-6)^2}{20} = \frac{36}{20} = 1.80$

  1. Identify the largest contribution: Comparing the values calculated: $0.45, 0.80, 0, 1.25, 1.80$. The largest value is $1.80$, which corresponds to the color Orange.