Lesson 9 — Chi-square
When your data is categorical — counts and frequencies instead of measurements — chi-square is the test to use.
Chi-square compares frequencies / counts across groups, not means.
| Golden Retrievers | Pugs | St. Bernards | |
|---|---|---|---|
| Catches frisbee | 52 | 12 | 18 |
| Drops frisbee | 8 | 48 | 42 |
Golden retrievers catch frisbees at a much higher rate. But is this statistically significant? That’s what χ² tests!
Measures the difference between observed frequencies and what we’d expect if there were no association.
Just like ANOVA, chi-square only tells you a difference exists. Post-hoc pairwise tests tell you which groups differ.
Real-world uses
Any time you’re counting things in categories — chi-square is your test.