- Home
- /
- Math
- /
- Statistics & Probability
- /
- Chi-Square Test
Chi-Square Test
Also known as: ฯยฒ test, chi-squared test
Grade 9-12
View on concept mapA family of hypothesis tests that use the chi-square statistic to compare observed frequencies to expected frequencies. Essential for analyzing categorical data: survey responses, genetics ratios, market research categories, and any situation where you compare proportions across groups.
Definition
A family of hypothesis tests that use the chi-square statistic to compare observed frequencies to expected frequencies. The three main types are: goodness-of-fit (does data match a claimed distribution?), test of independence (are two categorical variables related?), and test of homogeneity (do different populations have the same distribution?).
๐ก 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.
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 family of hypothesis tests that use the chi-square statistic to compare observed frequencies to expected frequencies. The three main types are: goodness-of-fit (does data match a claimed distribution?), test of independence (are two categorical variables related?), and test of homogeneity (do different populations have the same distribution?).
Why is Chi-Square Test important?
Essential for analyzing categorical data: survey responses, genetics ratios, market research categories, and any situation where you compare proportions across groups.
What do students usually get wrong about Chi-Square Test?
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.
What should I learn before Chi-Square Test?
Before studying Chi-Square Test, you should understand: hypothesis testing, p value, probability.
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.