Description Usage Arguments Value Author(s)
Update the gamma distribution parameters of the variational distribution of the precision sig.
1 | tupdate_sig(ssY_obs, Y, ex_list, ex2_vec, beta, esig, which_na = NULL)
|
ssY_obs |
A positive numeric. The sum of squares of the data array
|
Y |
An array of numerics. The data array. |
ex_list |
A list of vectors of numerics. The expected values of the components of each mode. |
ex2_vec |
A vector of positive numerics. The expected value of x'x for each mode. |
beta |
The prior rate parameter. |
esig |
A positive numeric. The variational expectation of the variance. |
which_na |
Either NULL (when complete data) or an array of
logicals the same dimension as |
delta_new
The updated rate parameter of the
variational distribution of the precision.
David Gerard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.