Description Usage Arguments Value Examples
This function generates samples from the posterior density of a Normal-Inverse-Wishart funcion
1 | niwPost(mu0, lam, Phi, nu, SS)
|
mu0 |
location parameter for the Gaussian distribution |
lam |
scale parameter for variance of the Gaussian distribution |
Phi |
a positive definite scale matrix for the Inverse-Wishart distribution |
nu |
degrees of freedom parameter for the Inverse-Whisart distribution |
SS |
a list which includes list(n = number of observations, mn = mean, S = covariance matrix) |
a list with mean and covariance matrix
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.