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
- If then has MGF , which is Gamma(, ).
- Summing independent copies multiplies the MGFs: .
- That is the Gamma(, ) MGF, so .
- .
Worked example
X is chi-square with 12 degrees of freedom. Find its standard deviation.
- .
- .
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.