View source: R/bayes_gibbs_steps.R
draw_variance_scalar | R Documentation |
Draws a variance from an inverse Wishart distribution.
draw_variance_scalar(Y, nu, s)
Y |
dependent variable |
nu |
degrees of freedom, |
s |
scale matrix, |
The mean is given by s / (nu+p-1)
for nu>p+1
.
A named vector of drawn parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.