Method:
|
|
Environment:
|
Statistica Visual Basic (SVB)
|
Function:
|
Generates a random sample drawn from an inverse Wishart
distribution with dimension p, df degrees of freedom and covariance matrix
.
|
Input arguments:
|
df – The degrees of freedom for the inverse Wishart distribution from which the random sample is drawn.
|
– The covariance matrix of multivariate normal variables.
|
seed – An optional argument for the seed for the random number generator. Given a constant seed, repeated calls to the function will generate identical samples. If not supplied, the Statistica system random number seed and sequence will be applied. Thus, the random number generator can be seeded programmatically from within Statistica Visual Basic (SVB), for example, to create a replicable sequence of random draws (call the SVB function Randomize([ByVal Seed] before generating sequences of random draws using the MatrixDrawInverseWishart function without the optional seed argument)
|
Output:
|
Returns a matrix storing a random sample
drawn from an inverse Wishart sample
|
Usage:
|
This function draws a random sample from an inverse Wishart distribution with
. The returned sample can also be converted to a random sample S, with
, drawn from a Wishart distribution
via the relation
.
|