A package for Bayesian analysis of probability estimates using beta distributions with R
Overview
The purpose of this package for R is to provide functions for visualizing and estimating beta distributions, their parameters, and quantiles. Some examples of functionality include:
- Plot a beta distribution with optional interval shading and line indicating expected value.
- Determine the bounds of a credible interval containing a specified percent of the probability.
- Estimate the parameters of a beta distribution from quantiles.
- Calculate the expectation of a beta distribution from its parameters.
- Determine the expected width of a confidence interval based on sample size.
- ggplot2 special geoms for interval shading and line indicating expected value.