Wishart |
The Wishart distribution is a generalization to multiple dimensions of the chi-square distribution, or, in the case of non-integer degrees of freedom, of the gamma distribution.
It is any of a family of probability distributions defined over symmetric, nonnegative-definite matrix-valued random variables ("random matrices"). These distributions are of great importance in the estimation of covariance matrices in multivariate statistics.
Wishart distribution parameters are scale matrix V and number of degrees of freedom n.
This topic contains the following sections:
Constructor | Description | Performance |
---|---|---|
set scale matrix V and degrees of freedom n | Creates new instance of Wishart with user specified parameters. | |
set V, n and random generator | Creates new instance of Wishart with user specified parameters. |
Method | Description | Performance |
---|---|---|
sample | Generate random variable sample. In place:Returning result: | |
Probability density function. where p is the order of the matrix V, and Γ is the multivariate gamma function. |
Property | Description | Performance |
---|---|---|
scale | Scale matrix. | |
degrees of freedom | Number of degrees of freedom. | |
scale is positive definite | Indicates whether user specified scale matrix is positive definite. | |
mean | Means matrix. | |
mode | Modes matrix. | |
generation method | Method of normal distribution generation. See Normal |