Chi-squared Distribution

The χ2 distribution is a non-negative continuous probability distribution function.


Description

Given k normally distributed random variables, the sum of their squares follows a χ2 distribution with k degrees of freedom.

This distribution is a special case of the Gamma distribution, with α=k/2 and (scale) β = 2. It follows that the distribution is given as:

chi.svg

for any x ∈ [0,∞), and where Γ is the gamma function.


Moments

The expected value is given as E[X] = k.

Variance is given as Var[X] = 2k.


Usage

Sum of Squared Residuals

The most common normal variable for which the sum of squares is taken is that of residuals.

Further note that the ratio of two χ2 random variables is itself a random variable that follows the F distribution.


CategoryRicottone

Analysis/ChiSquaredDistribution (last edited 2026-09-02 00:41:31 by DominicRicottone)