Beta-Binomial Distribution#
The Beta-Binomial distribution is a discrete probability distribution derived from the Binomial distribution, with its probability of success in each trial governed by a Beta distribution. This distribution is characterized by three parameters: \(\alpha\), \(\beta\), and \(n\), where \(\alpha\) and \(\beta\) are the shape parameters of the Beta distribution and \(n\) is the number of trials in the Binomial distribution.
Key properties and parameters#
Support |
\(x \in \{0, 1, \ldots, n\}\) |
Mean |
\(n \dfrac{\alpha}{\alpha + \beta}\) |
Variance |
\(\dfrac{n \alpha \beta (\alpha+\beta+n)}{(\alpha+\beta)^2 (\alpha+\beta+1)}\) |
Parameters:
\(\alpha\) : (float) Shape parameter of the Beta distribution, \(\alpha > 0\).
\(\beta\) : (float) Shape parameter of the Beta distribution, \(\beta > 0\).
\(n\) : (int) Number of trials in the Binomial distribution, \(n \geq 0\).
Probability Mass Function (PMF)#
where \(B\) is the Beta function and \(\binom{n}{x}\) is the binomial coefficient.
Cumulative Distribution Function (CDF)#