Computes and Displays Areas Under a Beta Curve

beta_area(lo, hi, shape_par)

Arguments

lo

lower bound of interval

hi

upper bound of interval

shape_par

vector of shape parameters of the beta curve

Value

Probability that beta random variable falls between two values

Examples

lo <- .2 hi <- .4 parameters <- c(2, 5) beta_area(lo, hi, parameters)