Update a sigma vector
1 | update_sigma(sigmavec, ymat, muvec, zmat, indicator, a0 = 0.001, b0 = 0.001)
|
sigmavec |
an inputted sigmavec |
ymat |
the data matrix |
muvec |
the 'corresponding' means vector |
zmat |
matrix of trinary indicators |
indicator |
0 or 1 to denote which pair of means and sd's are of interest |
a0 |
hyperparameter, shape parameter of hyperprior |
b0 |
hyperparameter, rate parameter of hyperprior |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.