matrix normal distribution
   HOME

TheInfoList



OR:

In
statistics Statistics (from German language, German: ', "description of a State (polity), state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of data. In applying statistics to a s ...
, the matrix normal distribution or matrix Gaussian distribution is a
probability distribution In probability theory and statistics, a probability distribution is a Function (mathematics), function that gives the probabilities of occurrence of possible events for an Experiment (probability theory), experiment. It is a mathematical descri ...
that is a generalization of the
multivariate normal distribution In probability theory and statistics, the multivariate normal distribution, multivariate Gaussian distribution, or joint normal distribution is a generalization of the one-dimensional ( univariate) normal distribution to higher dimensions. One d ...
to matrix-valued random variables.


Definition

The
probability density function In probability theory, a probability density function (PDF), density function, or density of an absolutely continuous random variable, is a Function (mathematics), function whose value at any given sample (or point) in the sample space (the s ...
for the random matrix X (''n'' × ''p'') that follows the matrix normal distribution \mathcal_(\mathbf, \mathbf, \mathbf) has the form: : p(\mathbf\mid\mathbf, \mathbf, \mathbf) = \frac where \mathrm denotes
trace Trace may refer to: Arts and entertainment Music * ''Trace'' (Son Volt album), 1995 * ''Trace'' (Died Pretty album), 1993 * Trace (band), a Dutch progressive rock band * ''The Trace'' (album), by Nell Other uses in arts and entertainment * ...
and M is ''n'' × ''p'', U is ''n'' × ''n'' and V is ''p'' × ''p'', and the density is understood as the probability density function with respect to the standard Lebesgue measure in \mathbb^, i.e.: the measure corresponding to integration with respect to dx_ dx_\dots dx_ dx_\dots dx_\dots dx_. The matrix normal is related to the
multivariate normal distribution In probability theory and statistics, the multivariate normal distribution, multivariate Gaussian distribution, or joint normal distribution is a generalization of the one-dimensional ( univariate) normal distribution to higher dimensions. One d ...
in the following way: :\mathbf \sim \mathcal_(\mathbf, \mathbf, \mathbf), if and only if :\mathrm(\mathbf) \sim \mathcal_(\mathrm(\mathbf), \mathbf \otimes \mathbf) where \otimes denotes the
Kronecker product In mathematics, the Kronecker product, sometimes denoted by ⊗, is an operation on two matrices of arbitrary size resulting in a block matrix. It is a specialization of the tensor product (which is denoted by the same symbol) from vector ...
and \mathrm(\mathbf) denotes the vectorization of \mathbf.


Proof

The equivalence between the above ''matrix normal'' and ''multivariate normal'' density functions can be shown using several properties of the
trace Trace may refer to: Arts and entertainment Music * ''Trace'' (Son Volt album), 1995 * ''Trace'' (Died Pretty album), 1993 * Trace (band), a Dutch progressive rock band * ''The Trace'' (album), by Nell Other uses in arts and entertainment * ...
and
Kronecker product In mathematics, the Kronecker product, sometimes denoted by ⊗, is an operation on two matrices of arbitrary size resulting in a block matrix. It is a specialization of the tensor product (which is denoted by the same symbol) from vector ...
, as follows. We start with the argument of the exponent of the matrix normal PDF: :\begin &\;\;\;\;-\frac12\text\left \mathbf^ (\mathbf - \mathbf)^ \mathbf^ (\mathbf - \mathbf) \right\ &= -\frac12\text\left(\mathbf - \mathbf\right)^T \text\left(\mathbf^ (\mathbf - \mathbf) \mathbf^\right) \\ &= -\frac12\text\left(\mathbf - \mathbf\right)^T \left(\mathbf^\otimes\mathbf^\right)\text\left(\mathbf - \mathbf\right) \\ &= -\frac12\left text(\mathbf) - \text(\mathbf)\rightT \left(\mathbf\otimes\mathbf\right)^\left text(\mathbf) - \text(\mathbf)\right \end which is the argument of the exponent of the multivariate normal PDF with respect to Lebesgue measure in \mathbb^. The proof is completed by using the determinant property: , \mathbf\otimes \mathbf, = , \mathbf, ^n , \mathbf, ^p.


Properties

If \mathbf \sim \mathcal_(\mathbf, \mathbf, \mathbf), then we have the following properties:


Expected values

The mean, or
expected value In probability theory, the expected value (also called expectation, expectancy, expectation operator, mathematical expectation, mean, expectation value, or first Moment (mathematics), moment) is a generalization of the weighted average. Informa ...
is: :E mathbf= \mathbf and we have the following second-order expectations: :E \mathbf - \mathbf)(\mathbf - \mathbf)^= \mathbf\operatorname(\mathbf) :E \mathbf - \mathbf)^ (\mathbf - \mathbf)= \mathbf\operatorname(\mathbf) where \operatorname denotes
trace Trace may refer to: Arts and entertainment Music * ''Trace'' (Son Volt album), 1995 * ''Trace'' (Died Pretty album), 1993 * Trace (band), a Dutch progressive rock band * ''The Trace'' (album), by Nell Other uses in arts and entertainment * ...
. More generally, for appropriately dimensioned matrices A,B,C: :\begin E mathbf\mathbf\mathbf^&= \mathbf\operatorname(\mathbf^T\mathbf) + \mathbf^T\\ E mathbf^T\mathbf\mathbf&= \mathbf\operatorname(\mathbf\mathbf^T) + \mathbf^T\mathbf\\ E mathbf\mathbf\mathbf&= \mathbf\mathbf^T\mathbf + \mathbf \end


Transformation

Transpose In linear algebra, the transpose of a Matrix (mathematics), matrix is an operator which flips a matrix over its diagonal; that is, it switches the row and column indices of the matrix by producing another matrix, often denoted by (among other ...
transform: :\mathbf^T \sim \mathcal_(\mathbf^T, \mathbf, \mathbf) Linear transform: let D (''r''-by-''n''), be of full
rank A rank is a position in a hierarchy. It can be formally recognized—for example, cardinal, chief executive officer, general, professor—or unofficial. People Formal ranks * Academic rank * Corporate title * Diplomatic rank * Hierarchy ...
''r ≤ n'' and C (''p''-by-''s''), be of full rank ''s ≤ p'', then: :\mathbf\sim \mathcal_(\mathbf, \mathbf^T, \mathbf^T\mathbf)


Composition

The product of two matrix normal distributions : \mathcal(\mathbf, \mathbf, \mathbf)\cdot \mathcal(\mathbf, \mathbf, \mathbf) \propto \mathcal(\mu_c, \Sigma_c) is proportional to a normal distribution with parameters: : \Sigma_c = (V_1^ \otimes U_1^ + V_2^ \otimes U_2^)^, : \mu_c = \Sigma_c \big((V_1^ \otimes U_1^) \operatorname(M_1) + (V_2^ \otimes U_2^)\operatorname(M_2)\big).


Example

Let's imagine a sample of ''n'' independent ''p''-dimensional random variables identically distributed according to a
multivariate normal distribution In probability theory and statistics, the multivariate normal distribution, multivariate Gaussian distribution, or joint normal distribution is a generalization of the one-dimensional ( univariate) normal distribution to higher dimensions. One d ...
: :\mathbf_i \sim \mathcal_p(, ) \text i \in \. When defining the ''n'' × ''p'' matrix \mathbf for which the ''i''th row is \mathbf_i, we obtain: :\mathbf \sim \mathcal_(\mathbf, \mathbf, \mathbf) where each row of \mathbf is equal to , that is \mathbf=\mathbf_n \times ^T, \mathbf is the ''n'' × ''n'' identity matrix, that is the rows are independent, and \mathbf = .


Maximum likelihood parameter estimation

Given ''k'' matrices, each of size ''n'' × ''p'', denoted \mathbf_1, \mathbf_2, \ldots, \mathbf_k, which we assume have been sampled i.i.d. from a matrix normal distribution, the
maximum likelihood estimate In statistics, maximum likelihood estimation (MLE) is a method of estimating the parameters of an assumed probability distribution, given some observed data. This is achieved by maximizing a likelihood function so that, under the assumed stati ...
of the parameters can be obtained by maximizing: : \prod_^k \mathcal_(\mathbf_i\mid\mathbf,\mathbf,\mathbf). The solution for the mean has a closed form, namely : \mathbf = \frac \sum_^k\mathbf_i but the covariance parameters do not. However, these parameters can be iteratively maximized by zero-ing their gradients at: : \mathbf = \frac \sum_^k(\mathbf_i-\mathbf)\mathbf^(\mathbf_i-\mathbf)^T and : \mathbf = \frac \sum_^k(\mathbf_i-\mathbf)^T\mathbf^(\mathbf_i-\mathbf), See for example and references therein. The covariance parameters are non-identifiable in the sense that for any scale factor, ''s''>0, we have: : \mathcal_(\mathbf\mid\mathbf,\mathbf,\mathbf) = \mathcal_(\mathbf\mid\mathbf,s\mathbf,\tfrac\mathbf) .


Drawing values from the distribution

Sampling from the matrix normal distribution is a special case of the sampling procedure for the
multivariate normal distribution In probability theory and statistics, the multivariate normal distribution, multivariate Gaussian distribution, or joint normal distribution is a generalization of the one-dimensional ( univariate) normal distribution to higher dimensions. One d ...
. Let \mathbf be an ''n'' by ''p'' matrix of ''np'' independent samples from the standard normal distribution, so that : \mathbf\sim\mathcal_(\mathbf,\mathbf,\mathbf). Then let : \mathbf=\mathbf+\mathbf\mathbf\mathbf, so that : \mathbf\sim\mathcal_(\mathbf,\mathbf^T,\mathbf^T\mathbf), where A and B can be chosen by
Cholesky decomposition In linear algebra, the Cholesky decomposition or Cholesky factorization (pronounced ) is a decomposition of a Hermitian, positive-definite matrix into the product of a lower triangular matrix and its conjugate transpose, which is useful for eff ...
or a similar matrix square root operation.


Relation to other distributions

Dawid (1981) provides a discussion of the relation of the matrix-valued normal distribution to other distributions, including the
Wishart distribution In statistics, the Wishart distribution is a generalization of the gamma distribution to multiple dimensions. It is named in honor of John Wishart (statistician), John Wishart, who first formulated the distribution in 1928. Other names include Wi ...
,
inverse-Wishart distribution In statistics, the inverse Wishart distribution, also called the inverted Wishart distribution, is a probability distribution defined on real-valued positive-definite matrices. In Bayesian statistics it is used as the conjugate prior for the cov ...
and
matrix t-distribution In statistics, the matrix ''t''-distribution (or matrix variate ''t''-distribution) is the generalization of the multivariate ''t''-distribution from vectors to matrices.Zhu, Shenghuo and Kai Yu and Yihong Gong (2007)"Predictive Matrix-Variate ...
, but uses different notation from that employed here.


See also

*
Multivariate normal distribution In probability theory and statistics, the multivariate normal distribution, multivariate Gaussian distribution, or joint normal distribution is a generalization of the one-dimensional ( univariate) normal distribution to higher dimensions. One d ...


References

* * * {{ProbDistributions, multivariate Random matrices Continuous distributions Multivariate continuous distributions