Chi-square test statistic and degrees of freedom for a 2x3 contingency table

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

Answer

B

Step-by-step solution

  1. Identify the formula for the chi-square test statistic: The chi-square test for independence uses the formula: $$\chi^2 = \sum \frac{(O - E)^2}{E}$$ where $O$ represents the observed frequencies and $E$ represents the expected frequencies. The expected frequency for each cell is calculated as $E = \frac{(\text{row total} \times \text{column total})}{\text{grand total}}$.

2. Calculate the expected frequencies:
- For (Reasonable, HS): $E = \frac{240 \times 160}{450} \approx 85.33$
- For (Reasonable, Some College): $E = \frac{240 \times 150}{450} = 80$
- For (Reasonable, Bachelor's+): $E = \frac{240 \times 140}{450} \approx 74.67$
- For (Not Reasonable, HS): $E = \frac{210 \times 160}{450} \approx 74.67$
- For (Not Reasonable, Some College): $E = \frac{210 \times 150}{450} = 70$
- For (Not Reasonable, Bachelor's+): $E = \frac{210 \times 140}{450} \approx 65.33$

  1. Calculate the degrees of freedom: The degrees of freedom for a chi-square test of independence is given by $df = (r - 1)(c - 1)$, where $r$ is the number of rows and $c$ is the number of columns. Here, $r = 2$ and $c = 3$, so $df = (2 - 1)(3 - 1) = 1 \times 2 = 2$.
  1. Construct the chi-square expression: Substituting the observed values ($O$) and calculated expected values ($E$) into the formula: $$\chi^2 = \frac{(100-85.33)^2}{85.33} + \frac{(80-80)^2}{80} + \frac{(60-74.67)^2}{74.67} + \frac{(60-74.67)^2}{74.67} + \frac{(70-70)^2}{70} + \frac{(80-65.33)^2}{65.33}$$ This matches the expression in option B.