Basics of Multivariate Student’s t distribution

2021-01-09

I am a fan of the Student’s t distribution – it is almost as easy to handle as the normal distribution but has an additional flexibility with respect to the heaviness of the tails. In fact, the normal distribution is a special case and so is the Cauchy distribution.

The density of a (non-degenerate) multivariate normal distribution with zero mean is given by

1(2π)nΣexp(12xΣ1x), \frac{1}{\sqrt{(2\pi)^n |\Sigma|}} \exp \Big( -\frac{1}{2} x^\top \Sigma^{-1} x \Big),

where Σ\Sigma is a (positive-semidefinite) n×nn\times n covariance matrix.

For comparison, the density of the multivariate student t distribution with zero mean is

Γ[(ν+n)/2]Γ(ν/2)vnπnΣ[1+1νxΣ1x](ν+n)/2. \frac{\Gamma[(\nu + n)/2]}{\Gamma(\nu/2) \sqrt{v^{n} \pi^{n} |\Sigma|}} \Big[ 1 + \frac{1}{\nu} x^\top \Sigma^{-1} x \Big]^{-(\nu + n)/2}.

Compare this with the univariate version of the t density:

Γ(ν+1)/2Γ(ν/2)νπ[1+x22](ν+1)/2. \frac{\Gamma{(\nu +1)/2}}{\Gamma(\nu/2)\sqrt{\nu\pi}} \Big[ 1 + \frac{x^2}{2} \Big]^{-(\nu+1)/2}.

In both cases, ν>2\nu>2 is the degrees of freedom parameter.

A standard way to construct a random variable ZZ with t-distribution is to use a normal random variable XX and an independent chi-square random variable YY and set

Z=XY/ν. Z = \frac{X}{\sqrt{Y/\nu}}.

This formula works for both the univariate and the multivariate case and can be used to draw samples from the t distribution using independent samples of XX and YY. Also, we get

CovZ=νν2CovX. \text{Cov} Z = \frac{\nu}{\nu-2} \text{Cov} X.

This is because the univariate χ2\chi^2 distribution with ν\nu degrees of freedom is really a Gamma(ν2,12)\text{Gamma}(\frac{\nu}{2}, \frac{1}{2}) distribution. This can be seen by comparing a χ2\chi^2 density with the Gamma(α,β)\text{Gamma}(\alpha, \beta) density

pα,β(x)=βαΓ(α)xα1eβx1[0,)(x). p_{\alpha,\beta}(x) = \frac{\beta^\alpha}{\Gamma(\alpha)}x^{\alpha-1}e^{-\beta x} 1_{[0, \infty)}(x).

The parameters α\alpha and β\beta are both positive. Moreover, 1/Y1/Y is inverse-gamma distributed and thus E1Y=1ν2.\mathbb E \frac{1}{Y} = \frac{1}{\nu -2}.

References