Chi-Squared Test
Is the difference real or just noise — the hundred-year-old test behind every converted-versus-didn't comparison table.
- Term
- Chi-Squared Test
- Asks
- Do counts differ beyond chance
- By
- Karl Pearson, 1900
- Marketing use
- A/B conversion tables, segment splits
Forms & parts of speech
Definition in plain terms
The chi-squared (χ²) test is a statistical test for whether observed counts across categories differ from what chance would produce. Marketing's standard use is the two-by-two table: variant A versus variant B, converted versus did not. The test compares the counts you observed against the counts expected if the variants performed identically, and summarizes the gap as a p-value — the probability of seeing a difference this large from luck alone. Karl Pearson introduced it in 1900; the AB-TEST dashboards of today still run on its logic.
The mechanics
The mechanics are expectation versus observation. Pool both variants to estimate the overall conversion rate, compute the counts each cell would show if that single rate governed everything, then measure how far reality deviates — the χ² statistic — and convert to a p-value. A small p says the equal-performance story strains belief; the conventional 0.05 threshold is convention, not law (see STATISTICAL SIGNIFICANCE for the wider doctrine and CONFIDENCE INTERVALS for the better companion habit of estimating the difference's size, since a 'significant' lift can still be commercially trivial). What the test needs and assumes: counts (not rates or averages — revenue per visitor needs different tools), independent observations, and expected cell counts large enough for the approximation to hold (small samples call for Fisher's exact test instead). What it cannot survive is the practice that quietly invalidates dashboards everywhere — peeking: re-running the test on accumulating data until significance appears converts a 5% false-positive rate into a coin flip's worth of false wins. SAMPLE-SIZE the test before launch, run to plan, read once. The chi-squared family extends past A/B: goodness-of-fit checks one distribution against expectation (channel mix versus last year), and independence tests cross any two categoricals (segment versus plan chosen).
When it matters
The chi-squared test matters wherever decisions ride on count comparisons — conversion tests above all, plus segment-by-outcome tables across the analytics stack. It matters as a discipline more than a formula: the test is one line of code, while the validity lives in pre-sized samples, no peeking, and reading effect sizes alongside p-values. Use it to keep noise from being promoted to insight — and pair every 'significant' verdict with the commercial question the p-value never answers: is the difference big enough to act on.
Synonyms & antonyms
Synonyms
Antonyms
Origin & history
Karl Pearson introduced the chi-squared test in a 1900 paper, giving statistics its first general tool for judging observed counts against theoretical expectation — foundational enough that the test's logic underpins modern A/B testing dashboards more than a century later.
Etymology: source.
Usage trends
Search interest for this term over the last five years:
Common questions
- What is a chi-squared test?
- A test for whether observed counts across categories differ from chance expectation — marketing's workhorse for conversion tables like variant-by-converted.
- When do you use chi-squared in marketing?
- Comparing conversion counts between test variants, checking segment-by-outcome tables for real association, and goodness-of-fit checks of distributions against expectation.
- What invalidates a chi-squared test?
- Peeking — repeatedly testing accumulating data until significance appears — plus non-count data, dependent observations, and tiny expected cell counts that need exact tests instead.
Related tools & calculators
Resources & people to follow
- referenceWikipedia — Chi-squared test
- referencePearson (1900) — the original chi-squared paper lineage
- referenceRGM analysis — size first, run to plan, read once; pair every p-value with the commercial effect size
Curated, non-competitor resources verified per term.
Related training
- modulePerformance marketing
Disciplines
Areas of marketing where chi-squared test is a core concern: