pbetap: Predictive distribution for a binomial sample with a beta...

Description Usage Arguments Value Author(s) Examples

Description

Computes predictive distribution for number of successes of future binomial experiment with a beta prior distribution for the proportion.

Usage

1
pbetap(ab, n, s)

Arguments

ab

vector of parameters of the beta prior

n

size of future binomial sample

s

vector of number of successes for future binomial experiment

Value

vector of predictive probabilities for the values in the vector s

Author(s)

Jim Albert

Examples

1
2
3
4
ab=c(3,12)
n=10
s=0:10
pbetap(ab,n,s)


Search within the LearnBayes package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.