Chi-squared distribution
ID: chi-squared-distribution
A Chi-squared distribution with statistical degrees of freedom is a Gamma distribution with shape and rate . Its Probability density function isFor a positive integer , a variable is the sum of squares of independent standard normal random variables. The gamma definition extends the law to noninteger positive degrees of freedom; it does not require a fractional number of Gaussian coordinates.
Its mean is , its variance is , and its Moment-generating function is for . These follow directly from the Gamma density or by multiplying the squared-normal transforms in the integer case.
The law appears when Gaussian deviations are aggregated as a squared length. For iid observations with and , the Sample variance satisfies . Centering removes the one-dimensional sample-mean direction, leaving independent Gaussian coordinates after an orthogonal change of basis. This exact normal-sampling law underlies confidence intervals for a variance; it is not a universal variance-sampling formula for arbitrary data.
New to topics? Read the docs here!