riwish {MIfuns} | R Documentation |
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.
riwish(s, df, Prec)
s |
scale matrix for inverse Wishart distribution |
df |
degrees of freedom |
Prec |
presision matrix with the mean of riwish() proportion to the Prec |
~~ If necessary, more details than the description above ~~
The variance of the random effect can be drawn form the returned inverse Wishart distribution.
Developed by Metrum Institute (Leonid Gibiansky, Bill Knebel, Tim Bergsma, and others).
MIfuns package available from Metrum Institute website (http://metruminstitute.org/
).