Module 12 • One-Page Cheat Sheet
Sum over all categories or cells
| Test | Variables | Samples | Question | Example |
|---|---|---|---|---|
| Goodness of Fit | 1 categorical | 1 sample | Fits expected distribution? | Is die fair? |
| Independence | 2 categorical | 1 sample | Are variables related? | Gender vs party? |
| Homogeneity | 1 categorical | 2+ samples | Same distribution? | 3 cities' views same? |
| Step | Action |
|---|---|
| 1. Hypotheses | H₀ vs Hₐ (state in context) |
| 2. Conditions | Check all 4 conditions (especially E ≥ 5) |
| 3. Expected | Calculate expected frequencies |
| 4. Test Statistic | Calculate χ² = Σ[(O-E)²/E] |
| 5. df | Find degrees of freedom |
| 6. p-value/CV | Use table or technology |
| 7. Conclusion | Decision + statement in context |
| Test | H₀ | Hₐ |
|---|---|---|
| Goodness of Fit | Data follows specified distribution | Data does NOT follow distribution |
| Independence | Variables are independent | Variables are associated |
| Homogeneity | Distributions are the same | At least one distribution differs |
If χ² > CV → Reject H₀
If χ² ≤ CV → Fail to reject H₀
If p-value < α → Reject H₀
If p-value ≥ α → Fail to reject H₀
Module 12: Chi-Square Tests • Introductory Statistics
© 2025 Safaa Dabagh • sdabagh.github.io