Statistics & Probability
Advanced

Chi-Square Statistic

Tests goodness of fit between observed and expected counts.

Formula

χ2=(OE)2E\chi^2 = \sum \frac{(O-E)^2}{E}

Variables

OObserved
EExpected

Example

Larger = worse fit

Did You Know?

The chi-square test, devised by Karl Pearson in 1900, checks whether observed counts match what theory predicts.