The chi-square distribution

Analytika TeamLast reviewed 4 min read

Whenever a statistic is built by adding up squared differences, such as observed vs expected counts, its sampling distribution tends to follow a chi-square distribution. That makes it one of the workhorse probability distributions.

Shape

  • Never negative, because it’s built from squares.
  • Strongly right-skewed with few df, and more symmetric as df increase.
  • Mean = df, and variance = 2 × df. So a χ² value close to its df is unremarkable, and one far above it is surprising.

Critical values (α = .05)

dfCritical χ²
13.841
25.991
37.815
49.488
916.919

In the hair and eye colour example, χ² = 138.29 with 9 df is far beyond 16.919, giving p < .001. Note that 3.841 = 1.96², because with 1 df the chi-square distribution is the square of a standard normal variable.

Where it’s used

Why only the upper tail?

In a chi-square test, a small statistic means the data fit the null hypothesis well, and a large one means they don’t. Only large values count as evidence against H₀, so the p-value is the area to the right of your statistic, even though the hypothesis itself (any departure from independence) isn’t “one-sided”.

More in Probability distributions

Try it with the free tools

Run this on your own data

Upload a dataset and ask your question in plain English. Analytika checks the assumptions, picks the test, runs it, and writes the results up in APA format.

Try it free