Exam PContinuousFree to read

Chi-square distribution

A sum of k squared independent standard normals; the sampling distribution of a variance.

Parameters and support

degrees of freedom
Support

The formulas

f(x)
F(x)
Mean
Variance
MGF
Memory hook. Mean k, variance 2k. It is exactly Gamma(α = k/2, λ = 1/2), so every gamma result transfers.

Where the moments come from

  1. If then has MGF , which is Gamma(, ).
  2. Summing independent copies multiplies the MGFs: .
  3. That is the Gamma(, ) MGF, so .
  4. .

Worked example

X is chi-square with 12 degrees of freedom. Find its standard deviation.

  1. .
  2. .

Answer: 4.899

The mean, variance, CDF and moment generating function above are re-derived numerically from this distribution’s own density on every test run — summed over the support for a discrete distribution, integrated by quadrature for a continuous one — and compared with the closed forms printed here. A typo on this page fails the build.

Traps

  • Using variance k instead of 2k.
  • Forgetting that the chi-square is a special gamma, and re-deriving results that already exist.

Related

Drill this: the Exam P question bank has original questions on this distribution, and the recall trainer builds its prompts from exactly the formulas above.