Beta-binomial distribution 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 <math> p </math> parameter in the binomial distribution as being randomly drawn from a beta distribution. Namely, if