Description Usage Arguments Value Author(s) Examples
Computes the parameters and mixing probabilities for a normal sampling problem, variance known, where the prior is a discrete mixture of normal densities.
1 | normal.normal.mix(probs,normalpar,data)
|
probs |
vector of probabilities of the normal components of the prior |
normalpar |
matrix where each row contains the mean and variance parameters for a normal component of the prior |
data |
vector of observation and sampling variance |
probs |
vector of probabilities of the normal components of the posterior |
normalpar |
matrix where each row contains the mean and variance parameters for a normal component of the posterior |
Jim Albert
1 2 3 4 5 6 7 |
$probs
normal.par1 normal.par2
0.4909845 0.5090155
$normalpar
post.mean post.var
normal.par1 0.6666667 0.3333333
normal.par2 1.5000000 0.2500000
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.