Description Usage Arguments Value Author(s) Examples
Computes the posterior distribution for a proportion for a discrete prior distribution.
1 |
p |
vector of proportion values |
prior |
vector of prior probabilities |
data |
vector consisting of number of successes and number of failures |
vector of posterior probabilities
Jim Albert
1 2 3 4 |
[1] 0.1502369 0.2404581 0.3001328 0.3091723
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.