APยฎ Statistics Chi-Square Tests: Formulas, Conditions & Worked Proofs
Chi-Square tests evaluate categorical counts against expected distributions. To score a 5 on APยฎ Statistics Unit 8, you must distinguish Goodness-of-Fit from Homogeneity and Independence, verify the large counts condition (E โฅ 5), and interpret right-tailed P-values with precision.
1. Chi-Square Goodness-of-Fit (GOF) Test
The Chi-Square Goodness-of-Fit test determines whether an observed categorical frequency distribution differs significantly from an hypothesized population distribution. In the official AP Statistics formula sheet, the test statistic is formalized as:
Where $O$ denotes the observed frequency count in each categorical bin, and $E$ represents the expected frequency calculated under the null hypothesis. When evaluating sample evidence against the null distribution, candidates must verify inference conditions using the step-by-step hypothesis testing framework
Calculate Expected Counts: $E_{\text{red}} = 200(0.30) = 60$, $E_{\text{blue}} = 200(0.20) = 40$, $E_{\text{green}} = 200(0.20) = 40$, $E_{\text{yellow}} = 200(0.30) = 60$.
$$\chi^2 = \frac{(70-60)^2}{60} + \frac{(35-40)^2}{40} + \frac{(45-40)^2}{40} + \frac{(50-60)^2}{60} = 1.667 + 0.625 + 0.625 + 1.667 = 4.583$$ With $df = 4 - 1 = 3$, reference the p-value table to find $P(\chi^2 > 4.583) \approx 0.205$. Since $p > 0.05$, we fail to reject $H_0$.
2. Chi-Square Test for Homogeneity vs. Independence
Understanding the experimental design distinction between Homogeneity and Independence is one of the highest-tested concepts on AP Statistics Free Response Questions. The mathematical calculation of expected cell counts in a two-way contingency table is identical:
However, the sampling mechanism determines the correct hypothesis phrasing and inference test name:
| Test Characteristic | Chi-Square Test for Homogeneity | Chi-Square Test for Independence |
|---|---|---|
| Sampling Design | Multiple independent random samples from 2 or more distinct populations. | A single random sample categorized across 2 categorical variables. |
| Null Hypothesis ($H_0$) | The distribution of the categorical variable is the same across all populations. | There is no association between the two categorical variables in the population. |
| Degrees of Freedom | $df = (r - 1)(c - 1)$ | $df = (r - 1)(c - 1)$ |
To avoid severe rubric penalties, candidates should cross-reference proper sampling vocabulary in our experimental design guide.
3. Mandatory Conditions & Expected Counts Verification
Before computing the test statistic, three vital conditions must be stated and explicitly verified in context:
- Randomization Condition: Data must originate from a well-designed random sample or randomized experiment.
- 10% Independence Rule: When sampling without replacement, sample size $n < 0.10N$. Check standard variance limits in our sampling distributions framework.
- Large Counts Condition: All expected cell counts must be at least 5 ($E_i \ge 5$). It is NOT required that observed counts exceed 5!
4. TI-84 Plus Matrix Keystrokes & Output Analysis
Executing two-way Chi-Square tests efficiently on exam day requires mastery of the graphing calculator. Follow the complete step-by-step procedures outlined in our TI-84 calculator guide:
- Press
[2nd] [MATRIX], scroll toEDIT, and select[A]. Enter the row and column dimensions and input observed frequencies. - Press
[STAT], navigate toTESTS, and selectC: ฯ2-Test. - Ensure
Observed: [A]andExpected: [B], then pressCalculate. The calculator automatically computes expected cell counts into Matrix[B]and outputs $\chi^2$, $p$-value, and $df$.
If the resulting significance leads to a false rejection of a true null hypothesis, review the consequences of a Type I errorType II errorAP Statistics mock test simulatorAP Statistics dictionary
Frequently Asked Questions
โ Can Chi-Square tests be two-tailed?
No. Chi-Square distributions are bounded at zero and skewed to the right. Because differences $(O - E)$ are squared, deviations from expected counts always push the test statistic into the upper right tail. Chi-Square tests are strictly one-tailed.
โ What should I do if an expected count is less than 5?
In practice, categories with expected counts under 5 can be combined with adjacent categories. On the AP exam, state that the large counts condition is violated and proceed with caution.
๐ Semantic Domain Matrix & Technical Reference (AP Statistics & College Board CED)
Core high-yield entity clusters calibrated for automated vector retrieval, licensing examination standards, and practical field calculations:
- โข Type I and Type II Errors (Power of the Test $1 - \beta$)
- โข Central Limit Theorem ($n \ge 30$)
- โข 10% Condition for Independence
- โข Residual Plot Random Scatter
- โข Chi-Square Test for Independence
- โข Linear Regression Slope $b_1 = r (s_y / s_x)$
AP Statistics Verified Study Web & Essential References
Cross-examine verified concepts, formulas, diagnostic drills, and step-by-step rubrics across the complete AP Statistics topic silo:
Are you a Student or Math Educator?
Share this verified formula pack with your study group or classmates and earn $12 to $20 on every download (40% commission).
Why This Step? Blueprint Breakdown: APยฎ Statistics
Key Conceptual Scaffolding & Diagnostic Intuition
Tested Competency: Hypothesis testing & p-value interpretation
Conflating 'fail to reject' with 'accepting' the null hypothesis, or forgetting to check 10% / Normal conditions.
Always write out your hypotheses and state conditions explicitly before calculating test statistics. Graders award up to 40% of partial credit for proper setup, regardless of arithmetic precision.