Learn R Programming

TeachBayes (version 0.1.0)

beta_interval: Probability Interval for a Beta Curve

Description

Computes Probability Interval for a Beta Curve

Usage

beta_interval(prob, shape_par)

Arguments

prob
value of coverage probability
shape_par
vector of shape parameters of the beta curve

Value

Computes and displays the interval that contains the beta curve with the specified probability

Examples

Run this code
  parameters <- c(2, 5)
  beta_interval(.5, parameters)

Run the code above in your browser using DataLab