Day 12 : Chi Squared#
The chi-squared distribution (also called chi-square) with
The probability density function is given by
where
The cumulative distribution function is given by
where
π Random Facts π#
It converges to a normal distribution for large
(by the central limit theorem). For many practical purposes, for the distribution is sufficiently close to a normal distribution.It is a special case of the Gamma distribution (Day 9) and is one of the most widely used probability distributions in inferential statistics, notably in hypothesis testing, and confidence intervals for population variance when the underlying distribution is normal.
The sum of independent chi-squared variables is also chi-squared distributed. Specifically, if
, are independent chi-squared random variables with degrees of freedom, respectively, then is chi-squared distributed with degrees of freedom.