Index: The Book of Statistical ProofsProbability DistributionsMultivariate continuous distributionsMultivariate normal distribution ▷ Relationship to chi-squared distribution

Theorem: Let $X$ be an $n$-dimensional random vector following a multivariate normal distribution with zero mean and arbitrary covariance matrix $\Sigma$:

\[\label{eq:mvn} X \sim \mathcal{N}(0, \Sigma) \; .\]

Then, the quadratic form of $X$, weighted by $\Sigma$, follows a chi-squared distribution with $n$ degrees of freedom:

\[\label{eq:mvn-chi2} Y = X^\mathrm{T} \Sigma^{-1} X \sim \chi^2(n) \; .\]

Proof: Define a new random vector $Z$ as

\[\label{eq:Z} Z = \Sigma^{-1/2} X \; .\]

where $\Sigma^{-1/2}$ is the matrix square root of $\Sigma$. This matrix must exist, because $\Sigma$ is a covariance matrix and thus positive semi-definite. Due to the linear transformation theorem, $Z$ is distributed as

\[\label{eq:Z-dist} \begin{split} Z &\sim \mathcal{N}\left( \Sigma^{-1/2} 0, \, \Sigma^{-1/2} \Sigma \, {\Sigma^{-1/2}}^\mathrm{T} \right) \\ &\sim \mathcal{N}\left( \Sigma^{-1/2} 0, \, \Sigma^{-1/2} \Sigma^{1/2} \Sigma^{1/2} \Sigma^{-1/2} \right) \\ &\sim \mathcal{N}(0, I_n) \; , \end{split}\]

i.e. each entry of this vector follows a standard normal distribution:

\[\label{eq:Zi-dist} Z_i \sim \mathcal{N}(0, 1) \quad \text{for all} \quad i = 1, \ldots, n \; .\]

We further observe that $Y$ can be represented in terms of $Z$

\[\label{eq:y-z} Y = X^\mathrm{T} \Sigma^{-1} X = \left( X^\mathrm{T} \Sigma^{-1/2} \right) \left( \Sigma^{-1/2} X \right) = Z^\mathrm{T} Z \; ,\]

thus $Z$ is a sum of $n$ squared standard normally distributed random variables

\[\label{eq:y-z-sum} Y = \sum_{i=1}^{n} Z_i^2 \quad \text{where all} \quad Z_i \sim \mathcal{N}(0, 1)\]

which, by definition, is chi-squared distributed with $n$ degrees of freedom:

\[\label{eq:mvn-chi2-qed} Y \sim \chi^2(n) \; .\]
Sources:

Metadata: ID: P395 | shortcut: mvn-chi2 | author: JoramSoch | date: 2022-12-20, 16:27.