Gamma-Poisson Conjugacy

Let be an unknown Poisson rate and let be i.i.d. Poisson counts. The Gamma-Poisson conjugate pair is

which produces the closed-form posterior

The prior hyperparameters update by adding the total event count to the shape and the total exposure to the rate . The prior is interpretable as having previously observed events over units of exposure (shape/rate parametrization: mean , variance ).

Exposure-weighted form. When observation has exposure (time, area, population) and , the posterior becomes . Total events over total exposure.

Posterior summaries:

  • Posterior mean: — a weighted average of the prior mean and the MLE with weights and .
  • Posterior mode (MAP): when ; equals the MLE under the improper prior .
  • Posterior variance: ; shrinks like .

Common prior choices:

  • (improper, flat on ): posterior is ; MAP equals MLE.
  • (improper Jeffreys prior): from Fisher information.
  • with small : weakly informative; mean , effective exposure .

Posterior predictive for a new count over unit exposure:

a Negative Binomial (also called Gamma-Poisson mixture) with variance strictly larger than the plug-in Poisson prediction. The extra variance is exactly the amount required to account for remaining uncertainty about , and is the Bayesian account of why raw Poisson models overstate confidence.

Prerequisites

Intuition

Count data from a Poisson process carries information about its rate only through the sum of counts and the total exposure. The Poisson likelihood, written as a function of , is proportional to — a kernel. The Gamma density has exactly that kernel (), so multiplying prior by likelihood adds exponents and stays Gamma. Mechanically, the prior contributes pseudo-events over pseudo-exposure; the data contribute real events over real units of exposure; the posterior just accumulates both.

The Negative Binomial posterior predictive reveals why Poisson regression models so often underfit dispersion. A frequentist plug-in predicts , which has variance equal to its mean. The Bayesian account, marginalizing over posterior uncertainty about , predicts with variance strictly greater than its mean — exactly the overdispersion that a practicing analyst sees in real count data (insurance claims, goals per soccer match, radioactive decay counts observed under rate uncertainty). Negative-Binomial regression is, at bottom, Bayesian Gamma-Poisson with the rate-uncertainty baked in.

Properties

(Posterior Mean as Shrinkage) The posterior mean is a convex combination of the prior mean and the MLE, weighted by effective sample sizes.


The prior’s effective exposure is , the data’s exposure is . When , the posterior sits near the prior mean; when , it sits at the MLE. This is the count-data analog of 3.5.2 Normal-Normal Model’s precision-weighted averaging.

(Posterior Predictive is Negative Binomial, Not Poisson) Predictive distribution inflates variance to account for rate uncertainty.


with mean and variance , which exceeds the mean. As and the posterior concentrates at , the Negative Binomial converges to and variance inflation vanishes.

(Sequential Updating) Gamma-Poisson updates are associative in the parametrization.

After seeing of size and then of size , the posterior is , identical to processing all observations at once. The same collapse holds for exposure-weighted counts. See 3.1 Bayesian Framework’s (Sequential Updating) property.

(Bernstein-von Mises) As , the posterior converges to the Gaussian around the MLE with variance equal to the inverse Fisher information.

The Gamma posterior has mean and variance . The Fisher information for a Poisson rate is , so the inverse-information variance is , matching the posterior variance. The Gamma shape grows linearly with , so the distribution tightens to Gaussian by the central-limit argument applied inside the Gamma family.

(Jeffreys Prior is Gamma) The improper prior is the Jeffreys (Fisher-information-induced) prior.

For a Poisson likelihood, , so the Jeffreys prior is improper Gamma with . The posterior is proper whenever at least one observation exceeds zero. This prior is reparametrization-invariant: the Jeffreys prior for yields the same inference as the Jeffreys prior for .

(Exposure Scales Linearly) When observation has known exposure and , posteriors accumulate both events and exposure.


This is the workhorse form in epidemiology (incidence rates per person-year), quality control (defects per item-hour), and particle-physics counting experiments (events per unit luminosity). The posterior mean is “total events over total exposure,” with priors as pseudo-events over pseudo-exposure.

(Sum of Counts is Sufficient) Only and (or ) matter for inference.

By the factorization criterion, is a sufficient statistic for . Two datasets with the same sum and same exposure yield identical posteriors regardless of the individual counts. This is the Poisson-family version of the sufficiency that made the Beta-Binomial collapse to .

Examples

Derivation

Goal: derive the posterior.

The Gamma prior density is

The Poisson likelihood for i.i.d. observations is

Multiplying prior and likelihood:

the kernel of . The normalizing constant follows automatically. For exposure-weighted observations, the likelihood becomes , and the posterior hyperparameters become .

Posterior predictive: for new with unit exposure,

With , the integral is a Gamma-Poisson mixture, closed-form as in the standard stopping-time parametrization.

See Also