The chi-squared distribution is a continuous probability distribution that arises as the sum of squares of independent standard normal random variables. It is fundamental to hypothesis testing, confidence intervals, and goodness-of-fit tests.
A random variable \(X\) follows a chi-squared distribution with \(k\) degrees of freedom if
\[
X \sim \chi^2_k \quad \text{or} \quad X \sim \chi^2(k).
\]
The characteristic function of \(X \sim \chi^2_k\) is
\[
\varphi_X(t) = (1 - 2it)^{-k/2}.
\]
5 Definition via Standard Normals
If \(Z_1, \ldots, Z_k\) are i.i.d. \(\mathcal{N}(0, 1)\), then
\[
X = \sum_{i=1}^k Z_i^2 \sim \chi^2_k.
\]
Proof. Each \(Z_i^2 \sim \chi^2_1 = \text{Gamma}(1/2, 1/2)\). By additivity of the Gamma Distribution with common rate, the sum is \(\text{Gamma}(k/2, 1/2) = \chi^2_k\).
If \(X_i \sim \chi^2_{k_i}\) are independent, then