Description Usage Arguments Value Author(s) Examples
Computes the parameters and mixing probabilities for a binomial sampling problem where the prior is a discrete mixture of beta densities.
1 | binomial.beta.mix(probs,betapar,data)
|
probs |
vector of probabilities of the beta components of the prior |
betapar |
matrix where each row contains the shape parameters for a beta component of the prior |
data |
vector of number of successes and number of failures |
probs |
vector of probabilities of the beta components of the posterior |
betapar |
matrix where each row contains the shape parameters for a beta component of the posterior |
Jim Albert
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.