Description Usage Arguments Value Examples
This function generates samples from the posterior density of a Normal-Inverse-Gamma funcion
1 | nigPost(m0, v0, a0, b0, SS)
|
m0 |
location parameter for the Normal distribution (real) |
v0 |
scale parameter for variance of the Normal distribution (real > 0) |
a0 |
shape parameter for the Inverse-Gamma distribution (real > 0) |
b0 |
rate parameter for the Inverse-Gamma distribution (real > 0) |
SS |
a list which includes list(n = number of observations, mn = mean, S = covariance) |
a list with mean and variance
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.