Learn R Programming

bayess (version 1.6)

probet: Coverage of the interval \((a,b)\) by the Beta cdf

Description

This function computes the coverage of the interval \((a,b)\) by the Beta \(\mathrm{B}(\alpha,\alpha (1-c)/c)\) distribution.

Usage

probet(a, b, c, alpha)

Value

numerical value between 0 and 1 corresponding to the coverage

Arguments

a

lower bound of the prior 95%~confidence interval

b

upper bound of the prior 95%~confidence interval

c

mean parameter of the prior distribution

alpha

scale parameter of the prior distribution

See Also

solbeta

Examples

Run this code
probet(.1,.5,.3,2)

Run the code above in your browser using DataLab