Click or drag to resize

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:

Constructors

Constructor

Description

Performance

set scale matrix V and degrees of freedom n

Creates new instance of Wishart with user specified parameters.

methodWishart(Matrix, Double)

set V, n and random generator

Creates new instance of Wishart with user specified parameters.

methodWishart(RandomGenerator, Matrix, Double)

Methods

Method

Description

Performance

sample

Generate random variable sample.

In place:

methodSample(Matrix)

Returning result:

StaticSample(Matrix, Double)

StaticSample(RandomGenerator, Matrix, Double)

pdf

Probability density function.

DWishart Pdf

where p is the order of the matrix V, and Γ is the multivariate gamma function.

methodPdf(Matrix)

StaticPdf(Matrix, Matrix, Double)

Properties

Property

Description

Performance

scale

Scale matrix.

PropertyScale

degrees of freedom

Number of degrees of freedom.

PropertyDegreesOfFreedom

scale is positive definite

Indicates whether user specified scale matrix is positive definite.

PropertyScaleIsPositiveDefinite

mean

Means matrix.

DWishart Mean

PropertyMean

mode

Modes matrix.

DWishart Mode

PropertyMode

generation method

Method of normal distribution generation. See Normal

PropertyMethod