- Home
- /
- Math
- /
- Statistics & Probability
- /
- Chi-Square Test
Chi-Square Test
Also known as: χ² test, chi-squared test
Grade 9-12
View on concept mapA hypothesis test that compares observed frequencies to expected frequencies using the chi-square statistic to assess independence or goodness of fit. Essential for analyzing categorical data: survey responses, genetics ratios, market research categories, and any situation where you compare proportions across groups.
Definition
A hypothesis test that compares observed frequencies to expected frequencies using the chi-square statistic to assess independence or goodness of fit.
💡 Intuition
You expect a die to land on each face about \frac{1}{6} of the time. You roll it 600 times and compare what you observed to what you expected. If the differences are small, the die is probably fair. If they're large, something is off. The chi-square statistic measures 'how far off are the observed counts from what we expected?'
🎯 Core Idea
Chi-square tests work with categorical (count) data, not numerical measurements. Large \chi^2 values mean the observed data deviates significantly from what was expected under H_0.
Example
Formula
Notation
\chi^2 is the test statistic. Degrees of freedom: goodness-of-fit df = k - 1; independence/homogeneity df = (r-1)(c-1).
🌟 Why It Matters
Essential for analyzing categorical data: survey responses, genetics ratios, market research categories, and any situation where you compare proportions across groups.
💭 Hint When Stuck
Compute each cell's contribution: \frac{(\text{observed} - \text{expected})^2}{\text{expected}}, then sum them all. Compare the total to a chi-square table with the correct degrees of freedom. Large values suggest the variables are not independent.
Formal View
Related Concepts
See Also
🚧 Common Stuck Point
Students struggle to distinguish the three types: goodness-of-fit tests one variable against a claimed distribution, independence tests the relationship between two variables in one sample, homogeneity tests the same variable across multiple populations.
⚠️ Common Mistakes
- Using chi-square on numerical (continuous) data instead of categorical (count) data.
- Forgetting to check that all expected counts are at least 5—small expected counts make the chi-square approximation unreliable.
- Confusing independence and homogeneity tests—they use the same formula but ask different questions and arise from different study designs.
Go Deeper
Frequently Asked Questions
What is Chi-Square Test in Math?
A hypothesis test that compares observed frequencies to expected frequencies using the chi-square statistic to assess independence or goodness of fit.
What is the Chi-Square Test formula?
When do you use Chi-Square Test?
Compute each cell's contribution: \frac{(\text{observed} - \text{expected})^2}{\text{expected}}, then sum them all. Compare the total to a chi-square table with the correct degrees of freedom. Large values suggest the variables are not independent.
Prerequisites
Cross-Subject Connections
How Chi-Square Test Connects to Other Ideas
To understand chi-square test, you should first be comfortable with hypothesis testing, p value and probability.