betabinomial {lestat} | R Documentation |
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.
betabinomial(n, alpha, beta)
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. |
An object of class "betabinomial" and class "probabilitydistribution".
Petter Mostad <mostad@chalmers.se>
betadistribution
,
binomialdistribution
,
binomialbeta
dist <- betabinomial(10, 5.5, 3.3)
cdf(dist, 3)