Beta-Binomial Conjugacy

Let be an unknown Bernoulli parameter (success probability). The Beta-Binomial conjugate pair is the prior-likelihood combination

which produces the closed-form posterior

The prior hyperparameters update by adding successes to and failures to . Equivalently, the prior is interpreted as “pseudo-successes” and “pseudo-failures” observed before the data.

Posterior summaries:

  • Posterior mean: — a weighted average of the prior mean and the MLE , with weights proportional to prior and data sample sizes.
  • Posterior mode (MAP): when and ; equals the MLE under a uniform prior .
  • Posterior variance: ; shrinks like .

Common prior choices:

  • : flat prior; posterior is and the MAP equals the MLE.
  • (Jeffreys prior): noninformative prior based on the Fisher information, ; has a U-shape favoring extremes.
  • with small : weakly informative; centered at with “prior sample size” .

Posterior predictive for a new flip or new batch of flips:

  • Single new flip: .
  • new flips: , a beta-binomial with variance strictly larger than the plug-in .

The -success form (Bernoulli likelihood) generalizes trivially: for i.i.d. Bernoulli observations with , the posterior is identical to the single-binomial case.

Intuition

The Beta prior’s density has exactly the same shape in as the binomial likelihood . Multiplying the two adds exponents: and . Renormalizing recognizes the result as another Beta density. This shape-matching is the entire mechanism — Beta is conjugate to Binomial because their densities live in the same two-parameter exponential family parameterized by powers of and .

The update has a clean pseudo-data interpretation. A prior is statistically indistinguishable from observing prior successes and prior failures. Once real data arrive, the posterior counts are just successes and failures total. The ratio is the prior mean; the sum is the effective prior sample size. Small means weak prior and fast washout; large means strong prior that competes with the data.

Properties

(Posterior Mean as Shrinkage) The posterior mean is a convex combination of the prior mean and the MLE.

Writing and for the prior mean,

with weights summing to . When the posterior is dominated by the prior; when it is dominated by the MLE. The boundary is the regime where both contribute comparably. This shrinkage structure is the reason Bayesian inference stabilizes estimates for small : the MLE has variance that blows up relative to the parameter’s range for of order , while the posterior mean is automatically pulled toward the prior and never degenerates.

(Uniform Prior Recovers MLE) A prior makes the MAP equal the MLE.

Plugging into the MAP formula gives , exactly the binomial MLE. This is a general pattern: under a flat prior, Bayesian MAP estimation coincides with maximum likelihood, because the prior does not shift the location of the mode. The posterior mean, however, differs from the MLE even under a flat prior — rather than — because the Beta density is asymmetric unless .

(Jeffreys Prior) The prior is the Jeffreys prior for the Bernoulli likelihood and is invariant under reparameterization.

The Jeffreys prior is where is the Fisher information; for the Bernoulli, , giving , which is . Its defining feature is that inference under the Jeffreys prior is invariant to one-to-one reparameterizations of : posterior inference on and on, say, yields the same “objective” results. The Jeffreys prior is U-shaped, concentrating mass at and , which can be a feature (encodes the principle of indifference on a bounded scale) or a bug (injects nontrivial information into the tails) depending on the application.

(Predictive Distribution Is Beta-Binomial) The posterior predictive distribution for new flips is a beta-binomial, not a binomial.

Marginalizing out of new flips,

which is the pmf. Its variance is

strictly larger than the plug-in binomial variance — the inflation factor exceeds and accounts for posterior uncertainty in . The inflation vanishes as and the posterior concentrates.

(Sequential Update) The posterior after observing flips is the prior for the -th flip.

Beta-Binomial conjugacy is sequentially self-updating: if a priori and we observe flips one at a time, after seeing with total successes , the posterior is . Using this as the prior for flip and updating with the single new observation produces , the same as updating with all flips at once. This is the concrete form of the sequential updating property from 3.1 Bayesian Framework for this conjugate pair.

(Laplace’s Rule of Succession) Under a uniform prior, the posterior probability that the next flip is a success is .

Plugging into the posterior mean gives , known as Laplace’s rule of succession. It is the oldest explicit Bayesian predictive formula (Laplace, 1774) and a classic example of the benefit of shrinkage: after seeing flips the predictive probability is (not undefined); after seeing successes the predictive is (not the degenerate ). The MLE’s pathologies at the boundary are gone.

Examples

See Also