Confidence interval of a beta distribution
Usage
betaCI(shape1, shape2, CImass = 0.95)
Arguments
- shape1
Shape parameter passed to beta inverse cumulative distribution function qbeta.
- shape2
Shape parameter passed to beta inverse cumulative distribution function qbeta.
- CImass
Central probability mass.
Value
A numeric vector of the two quantiles bounding the central probability mass.
Examples
betaCI(6, 4)
#> Error in betaCI(6, 4): could not find function "betaCI"
betaCI(2, 50, 0.75)
#> Error in betaCI(2, 50, 0.75): could not find function "betaCI"