Predictive distribution for a binomial sample with a beta prior
Computes predictive distribution for number of successes of future binomial experiment with a beta prior distribution for the proportion.
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
ab=c(3,12) n=10 s=0:10 pbetap(ab,n,s)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.