Distribution of the inverse of a Wishart-distributed matrix
If and is of size, then has an inverse Wishart distribution .
Marginal and conditional distributions from an inverse Wishart-distributed matrix
Suppose has an inverse Wishart distribution. Partition the matrices and conformably with each other where and are matrices, then we have i) is independent of and, where is the Schur complement of in ; ii) ; iii), where is a matrix normal distribution; iv), where ;
Conjugate distribution
Suppose we wish to make inference about a covariance matrix whose prior has a distribution. If the observations are independent p-variate Gaussian variables drawn from a distribution, then the conditional distribution has a distribution, where. Because the prior and posterior distributions are the same family, we say the inverse Wishart distribution is conjugate to the multivariate Gaussian. Due to its conjugacy to the multivariate Gaussian, it is possible to marginalize out the Gaussian's parameter. . The inverse-Wishart distribution as a prior can be constructed via existing transferred prior knowledge.
Moments
The following is based on Press, S. J. "Applied Multivariate Analysis", 2nd ed., after reparameterizing the degree of freedom to be consistent with the p.d.f. definition above. The mean: The variance of each element of : The variance of the diagonal uses the same formula as above with, which simplifies to: The covariance of elements of are given by: The results are expressed in the more succinct Kronecker product form by Rosen as follows. where and commutation matrix. There is a typo in Rosen's paper whereby the coefficient of is given as rather than. Also the expression for the mean square inverse Wishart, corollary 3.1, should read The variances of the Wishart product are also obtained by Cook et. al. in the singular case and, by extension, to the full rank case. In the complex case, the "white" inverse complex Wishart was shown by Shaman to have diagonal statistical structure in which the leading diagonal elements are correlated, while all other element are uncorrelated. It was also shown by Brennan and Reed using a matrix partitioning procedure, albeit in the complex variable domain, that the marginal pdf of the diagonal element of this matrix has an Inverse-chi-squared distribution. This extends easily to all diagonal elements since is statistically invariant under orthogonal transformations, which includes interchanges of diagonal elements. For the inverse Chi squared distribution, with arbitrary degrees of freedom, the pdf is the mean and variance of which are respectively. These two parameters are matched to the corresponding inverse Wishart diagonal moments when and hence the diagonal element marginal pdf of becomes: which, below, is generalized to all diagonal elements. Note that the mean of the complex inverse Wishart is thus and differs from the real valued Wishart case which is.
Related distributions
A univariate specialization of the inverse-Wishart distribution is the inverse-gamma distribution. With and, and the probability density function of the inverse-Wishart distribution becomes i.e., the inverse-gamma distribution, where is the ordinary Gamma function. The Inverse Wishart distribution is a special case of the inverse matrix gamma distribution when the shape parameter and the scale parameter. Another generalization has been termed the generalized inverse Wishart distribution,. A positive definite matrix is said to be distributed as if is distributed as. Here denotes the symmetric matrix square root of, the parameters are positive definite matrices, and the parameter is a positive scalar larger than. Note that when is equal to an identity matrix,. This generalized inverse Wishart distribution has been applied to estimating the distributions of multivariate autoregressive processes. A different type of generalization is the normal-inverse-Wishart distribution, essentially the product of a multivariate normal distribution with an inverse Wishart distribution. When the scale matrix is an identity matrix, is an arbitrary orthogonal matrix, replacement of by does not change the pdf of so belongs to the family of spherically invariant random processes in some sense. Thus, an arbitrary p-vector with can be rotated into the vector without changing the pdf of, moreover can be a permutation matrix which exchanges diagonal elements. It follows that the diagonal elements of are identically inverse chi squared distributed, with pdf in the previous section though they are not mutually independent. The result is known in optimal portfolio statistics, as in Theorem 2 Corollary 1 of Bodnar et al, where it is expressed in the inverse form .