betabinomial: Create an Object Representing a Beta-Binomial Distribution
Description
Create an object representing a Beta-Binomial distribution. This can be
used for a Binomial distribution where there is uncertainty about the
probability of success, and this uncertainty is represented by a Beta
distribution.
Usage
betabinomial(n, alpha, beta)
Arguments
n
the number of trials in the binomial distribution (a positive integer).
alpha
the alpha parameter of the underlying Beta distribution.
beta
the beta parameter of the underlying Beta distribution.
Value
An object of class "betabinomial" and class "probabilitydistribution".