Update the mean vector mu (after Xu et al., 2012)
1 | update_mu(mu, trinary, y, alpha, tau = 1, sd_jump = 0.1)
|
mu |
a mean vector |
trinary |
a trinary matrix |
tau |
prior sd of mu |
sd_jump |
sd of jump distribution |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.