Description Usage Arguments Value Author(s) Examples
Computes predictive distribution for number of successes of future binomial experiment with a beta prior distribution for the proportion.
| 1 | pbetap(ab, n, s)
 | 
| ab | vector of parameters of the beta prior | 
| 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 | 
 [1] 0.1798418972 0.2569169960 0.2312252964 0.1622633659 0.0946536301
 [6] 0.0467700290 0.0194875121 0.0066814327 0.0017896695 0.0003365190
[11] 0.0000336519
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.