Education
 

Multivariate normal distribution

From Psychology Wiki

Community portal · Tasks to do · News · Help

Clinical · Educational · Ind&Org · Other fields · Professional · Transpersonal · World

Assessment | Biopsychology | Comparative | Cognitive | Developmental | Language
Personality | Philosophy | Research Methods | Social | Statistics

Statistics: Scientific method · Research methods · Experimental design · Undergraduate statistics courses · Statistical tests · Game theory · Decision theory


Multivariate normal
Probability density function
Cumulative distribution function
Parameters math location (real vector)
math covariance matrix (positive definite real math matrix)
Support math
pdf math
math
cdf
Mean math
Median math
Mode math
Variance
Skewness 0
Kurtosis 0
Entropy
mgf math
Char. func. math


In probability theory and statistics, a multivariate normal distribution, also sometimes called a multivariate Gaussian distribution, is a specific probability distribution, which can be thought of as a generalization to higher dimensions of the one-dimensional normal distribution (also called a Gaussian distribution).

Contents

[edit] General case

A random vector math follows a multivariate normal distribution if it satisfies the following equivalent conditions:

  • there is a random vector math, whose components are independent standard normal random variables, a vector math and an math matrix math such that math.
math

The following is not quite equivalent to the conditions above, since it fails to allow for a singular matrix as the variance:

math

where math is the determinant of math. Note how the equation above reduces to that of the univariate normal distribution if math is a scalar (i.e., a real number).

The vector math in these conditions is the expected value of math and the matrix math is the covariance matrix of the components math.

It is important to realize that the covariance matrix must be allowed to be singular. That case arises frequently in statistics; for example, in the distribution of the vector of residuals in ordinary linear regression problems. Note also that the math are in general not independent; they can be seen as the result of applying the linear transformation math to a collection of independent Gaussian variables math.

The multivariate normal can be written in the following notation:

math

or to make it explicitly known math is N-dimensional

math

[edit] Cumulative distribution function

The cumulative distribution function (cdf) math is defined as the probability that all values in a random vector math are less than or equal to the corresponding values in vector math. Though there is no closed form for math, there are a number of algorithms that estimate it numerically. For example, see MVNDST under [1] (includes FORTRAN code) or [2] (includes MATLAB code).

[edit] A counterexample

The fact that two or more random variables X and Y are normally distributed does not imply that the pair (XY) has a joint normal distribution. A simple example is one in which Y = X if |X| > 1 and Y = −X if |X| < 1.

[edit] Normally distributed and independent

If X and Y are normally distributed and independent, then they are "jointly normally distributed", i.e., the pair (XY) has a bivariate normal distribution. There are of course also many bivariate normal distributions in which the components are correlated.

[edit] Bivariate case

In the 2-dimensional nonsingular case, the probability density function (with mean (0,0)) is

math

where math is the correlation between math and math. In this case,

math

[edit] Linear transformation

If math is a linear transformation of math where math is an math matrix then math has a multivariate normal distribution with expected value mathand variance math (i.e., math.

Corollary: any subset of the math has a marginal distribution that is also multivariate normal. To see this consider the following example: to extract the subset math, use

math

which extracts the desired elements directly.

[edit] Correlations and independence

In general, random variables may be uncorrelated but highly dependent. But if a random vector has a multivariate normal distribution then any two or more of its components that are uncorrelated are independent. This implies that any two or more of its components that are pairwise independent are independent.

But it is not true that two random variables that are (separately, marginally) normally distributed and uncorrelated are independent. Two random variables that are normally distributed may fail to be jointly normally distributed, i.e., the vector whose components they are may fail to have a multivariate normal distribution. For an example of two normally distributed random variables that are uncorrelated but not independent, see normally distributed and uncorrelated does not imply independent.

[edit] Higher moments

The math-order moments of math are defined by

math

where math

The central math-order moments are given as follows

(a) If math is odd, math.

(b) If math is even with math, then

math

where the sum is taken over all allocations of the set math into math (unordered) pairs, giving math terms in the sum, each being the product of math covariances. The covariances are determined by replacing the terms of the list math by the corresponding terms of the list consisting of math ones, then math twos, etc, after each of the possible allocations of the former list into pairs.

In particular, the 4-order moments are

math
math
math
math
math

[edit] Conditional distributions

If math and math are partitioned as follows

math with sizes math
math with sizes math

then the distribution of math conditional on math is multivariate normal math where

math

and covariance matrix

math

This matrix is the Schur complement of math in math.

Note that knowing the value of math to be math alters the variance; perhaps more surprisingly, the mean is shifted by math; compare this with the situation of not knowing the value of math, in which case math would have distribution math.

The matrix math is known as the matrix of regression coefficients.

[edit] Fisher information matrix

The Fisher information matrix (FIM) for a normal distribution takes a special formulation. The math element of the FIM for math is

math

where

[edit] Kullback-Leibler divergence

The Kullback-Leibler divergence from math to math is:

math

[edit] Estimation of parameters

The derivation of the maximum-likelihood estimator of the covariance matrix of a multivariate normal distribution is perhaps surprisingly subtle and elegant. See estimation of covariance matrices.

In short, the probability density function (pdf) of an N-dimensional multivariate normal is

math

and the ML estimator of the covariance matrix is

math

which is simply the sample covariance matrix for sample size n. This is a biased estimator whose expectation is

math

An unbiased sample covariance is

math

[edit] Entropy

The differential entropy of the multivariate normal distribution is [1]

math
math
math

where math is the determinant of the covariance matrix math.

[edit] Multivariate normality tests

Multivariate normality tests check a given set of data for similarity to the multivariate normal distribution. The null hypothesis is that the data set is similar to the normal distribution, therefore a sufficiently small p-value indicates non-normal data. Multivariate normality tests include the Cox-Small test [2] and Smith and Jain's adaptation of the Friedman-Rafsky test [3].

[edit] Drawing values from the distribution

A widely used method for drawing a random vector math from the math-dimensional multivariate normal distribution with mean vector math and covariance matrix math (required to be symmetric and positive definite) works as follows:

  1. Compute the Cholesky decomposition (matrix square root) of math, that is, find the unique lower triangular matrix math such that math.
  2. Let math be a vector whose components are math independent standard normal variates (which can be generated, for example, by using the Box-Muller transform).
  3. Let math be math.

[edit] References

  1. Gokhale, DV, NA Ahmed, BC Res, NJ Piscataway (May 1989). Entropy Expressions and Their Estimators for Multivariate Distributions. Information Theory, IEEE Transactions on 35 (3): 688-692.
  2. Cox, D. R., N. J. H. Small (August 1978). Testing multivariate normality. Biometrika 65 (2): 263–272.
  3. Smith, Stephen P., Anil K. Jain (September 1988). A test to determine the multivariate normality of a dataset. IEEE Transactions on Pattern Analysis and Machine Intelligence 10 (5): 757–761. DOI:10.1109/34.6789.
Image:Bvn-small.png Probability distributions [[[:Template:Tnavbar-plain-nodiv]]]
Univariate Multivariate
Discrete: BernoullibinomialBoltzmanncompound PoissondegeneratedegreeGauss-Kuzmingeometrichypergeometriclogarithmicnegative binomialparabolic fractalPoissonRademacherSkellamuniformYule-SimonzetaZipfZipf-Mandelbrot Ewensmultinomial
Continuous: BetaBeta primeCauchychi-squareDirac delta functionErlangexponentialexponential powerFfadingFisher's zFisher-TippettGammageneralized extreme valuegeneralized hyperbolicgeneralized inverse GaussianHotelling's T-squarehyperbolic secanthyper-exponentialhypoexponentialinverse chi-squareinverse gaussianinverse gammaKumaraswamyLandauLaplaceLévyLévy skew alpha-stablelogisticlog-normalMaxwell-BoltzmannMaxwell speednormal (Gaussian)ParetoPearsonpolarraised cosineRayleighrelativistic Breit-WignerRiceStudent's ttriangulartype-1 Gumbeltype-2 GumbeluniformVoigtvon MisesWeibullWigner semicircle DirichletKentmatrix normalmultivariate normalvon Mises-FisherWigner quasiWishart
Miscellaneous: Cantorconditionalexponential familyinfinitely divisiblelocation-scale familymarginalmaximum entropy phase-typeposterior priorquasisampling
</center>
fr:loi normale multidimensionnelle
ru:Многомерное нормальное распределение
sv:Multivariat normalfördelning
Smallwikipedialogo.png This page uses content from the English-language version of Wikipedia. The original article was at Multivariate normal distribution. The list of authors can be seen in the page history. As with Psychology Wiki, the text of Wikipedia is available under the GNU Free Documentation License.