riwish {MIfuns}R Documentation

Generate inverse Wishart distribution

Description

Generates an inverse Wishart distribution for a variance of a random effect (OMEGA matrix in NONMEM notation). The functions requires the specification of degrees of freedom, scale matrix, and precision for each random effect.

Usage

riwish(s, df, Prec)

Arguments

s scale matrix for inverse Wishart distribution
df degrees of freedom
Prec presision matrix with the mean of riwish() proportion to the Prec

Details

~~ If necessary, more details than the description above ~~

Value

The variance of the random effect can be drawn form the returned inverse Wishart distribution.

Author(s)

Developed by Metrum Institute (Leonid Gibiansky, Bill Knebel, Tim Bergsma, and others).

References

MIfuns package available from Metrum Institute website (http://metruminstitute.org/).


[Package MIfuns version 3.2.9 Index]