Lably
Skip to content

Beta-binomial distribution

Discrete probability distribution

  • 4 min read
  • 6 chapters

Related on Lably

Through Statistics, Probability distribution and Bernoulli trial

The beta-binomial is a one-dimensional version of the Dirichlet-multinomial distribution as the binomial and beta distributions are univariate versions of the multinomial and Dirichlet distributions respectively. The special case where α and β are integers is also known as the negative hypergeometric distribution.

Motivation and derivation

As a compound distribution

The beta distribution is a conjugate distribution of the binomial distribution. This fact leads to an analytically tractable compound distribution where one can think of the p parameter in the binomial distribution as being randomly drawn from a beta distribution. Suppose we were interested in predicting the probability of a specific number of heads, x in n future trials. This is given by

f(x∣n,α,β)=∫01Bin(x|n,p)Beta(p∣α,β)dp=(nx)1B(α,β)∫01px+α−1(1−p)n−x+β−1dp=(nx)B(x+α,n−x+β)B(α,β).

Using the properties of the beta function, this can alternatively be written

f(x∣n,α,β)=Γ(n+1)Γ(x+α)Γ(n−x+β)Γ(n+α+β)Γ(x+1)Γ(n−x+1)Γ(α+β)Γ(α)Γ(β)

As an urn model

The beta-binomial distribution can also be motivated via an urn model for positive integer values of α and β, known as the Pólya urn model. Specifically, imagine an urn containing α red balls and β black balls, where random draws are made. If a red ball is observed, then two red balls are returned to the urn. Likewise, if a black ball is drawn, then two black balls are returned to the urn. If this is repeated n times, then the probability of observing x red balls follows a beta-binomial distribution with parameters n, α and β.

By contrast, if the random draws are with simple replacement (no balls over and above the observed ball are added to the urn), then the distribution follows a binomial distribution and if the random draws are made without replacement, the distribution follows a hypergeometric distribution.

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Statistics