posterior_mean | R Documentation |
This is an internal (non-exported) function. This help page provides additional documentation mainly intended for developers and expert users.
posterior_mean(bhat, Vinv, U1)
bhat |
R vector of observation |
Vinv |
R x R inverse covariance matrix for the likelihood |
U1 |
R x R posterior covariance matrix, computed using posterior_cov |
If bhat is N(b,V) and b is N(0,U) then b|bhat N(mu1,U1). This function returns mu1.
R vector of posterior mean
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.