Beta Distribution

A continuous random variable follows the Beta distribution with shape parameters and , defined by the probability density function

where B(\alpha,\beta) = \dfrac{\Gamma(\alpha)\Gamma(\beta)}{\Gamma(\alpha+\beta)}={\Large\int}\limits_{0}^{1} \enspace t^{\alpha-1}(1-t)^{\beta - 1}dt is the Beta function, which serves as a normalizing constant ensuring the sum-to-one condition.

The Beta distribution models random proportions, probabilities, and rates—any quantity naturally bounded between and . Because its two shape parameters and control the density’s shape independently, the Beta family can produce symmetric, left-skewed, right-skewed, U-shaped, and uniform densities, making it exceptionally flexible.

Special cases:

  • If , then , since for all .
  • If and , the density is strictly decreasing on .
  • If and , the density is strictly increasing on .

The cumulative distribution function of the Beta distribution is

where is the regularized incomplete Beta function, which has no closed-form expression in general.

A key characteristic of the Beta distribution is shape control: governs how much mass is pulled toward , and governs how much mass is pulled toward . When both , the density is unimodal with mode at ; when both , the density is U-shaped, concentrating mass near and .

Bayesian Interpretation conjugate prior for the Bernoulli and Binomial likelihoods. If is a prior belief about a probability parameter and , then the posterior is The parameters and can thus be interpreted as pseudo-counts: prior successes and prior failures.

In Bayesian inference, the Beta distribution is the

Intuition

The Beta distribution is best understood as a distribution over probabilities. Suppose you are trying to estimate the true probability that a coin lands heads. Before flipping the coin, you might express your uncertainty about using a prior. After observing heads and tails, your updated belief is . Each success shifts mass toward ; each failure shifts mass toward . As the number of observations grows, the posterior concentrates around the true .

This makes the Beta distribution central to Bayesian estimation and to any setting where one needs to reason about unknown proportions—click-through rates, disease prevalence, batting averages, and so on.

Properties

(Mean) .

(Variance) .

As grows, the variance shrinks, concentrating the distribution more tightly around its mean. This reflects greater certainty—in a Bayesian context, more data yields a more concentrated posterior.

(Mode) If , .

(Symmetry) If , then .

This means swapping and reflects the density about . In particular, if , then is symmetric around .

(Reflection of the Gamma) If and are independent, then


This construction gives a concrete way to generate Beta random variables from Gamma random variables, and reveals the Beta as measuring the relative share of one Gamma process against the total.

(Order Statistics) If is the -th order statistic of i.i.d. random variables, then

(MGF) The moment generating function of has no simple closed form, but the -th raw moment is given by

Examples

Coin Fairness

Suppose you want to determine whether a coin is fair. You start with no prior information, so you set . You flip the coin times and observe heads and tails.

Order Statistic Distribution

Let . Define .