Description Usage Arguments Value Author(s) Examples
Computes predictive distribution for number of successes of future binomial experiment with a discrete distribution for the proportion.
1 | pdiscp(p, probs, n, s)
|
p |
vector of proportion values |
probs |
vector of probabilities |
n |
size of future binomial sample |
s |
vector of number of successes for future binomial experiment |
vector of predictive probabilities for the values in the vector s
Jim Albert
1 2 3 4 5 |
[1] 0.03211473 0.06657051 0.09190545 0.11272071 0.12897176 0.13543368
[7] 0.12897176 0.11272071 0.09190545 0.06657051 0.03211473
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.