01 / 21

Exponential
Families

A unified framework for understanding natural parameters, sufficient statistics, and the distributions that power modern statistics.

Graduate Statistics

What Is an Exponential Family?

An exponential family is a class of probability distributions whose density (or mass) function can be written in a specific canonical form. This structure unlocks elegant theory for estimation, sufficiency, and conjugate priors.

Here, \(\boldsymbol{\eta}\) is the natural parameter, \(\mathbf{T}(x)\) is the sufficient statistic, \(A(\boldsymbol{\theta})\) is the log-partition function, and \(h(x)\) is the base measure.

The Four Key Components

\(\boldsymbol{\eta}\) : Natural Parameter
A transformation of \(\boldsymbol{\theta}\) that appears linearly in the exponent. It defines the natural parameterization.
\(\mathbf{T}(x)\) : Sufficient Statistic
A function of the data that captures all information about \(\boldsymbol{\theta}\). By the factorization theorem, \(\mathbf{T}\) is sufficient.
\(A(\boldsymbol{\theta})\) : Log-Partition
Ensures the density integrates to 1. Its derivatives generate cumulants: mean, variance, and beyond.
\(h(x)\) : Base Measure
A non-negative function of \(x\) alone: it does not depend on \(\boldsymbol{\theta}\) and sets the "reference" measure.

Why Do They Matter?

1
Sufficient statistics exist: \(\mathbf{T}(x)\) compresses all the data without losing information about \(\boldsymbol{\theta}\).
2
MLEs are easy: maximum likelihood reduces to moment matching: \(\mathbb{E}_{\hat{\theta}}[\mathbf{T}(X)] = \bar{\mathbf{T}}\).
3
Conjugate priors: Bayesian analysis is clean: the posterior stays in the same family as the prior.
4
GLM foundation: generalized linear models are built entirely on exponential family response distributions.

The Canonical Form

When we reparameterize directly in terms of the natural parameter \(\boldsymbol{\eta}\), the density takes its canonical (or natural) form:

The natural parameter space is \(\mathcal{H} = \{\boldsymbol{\eta} : A(\boldsymbol{\eta}) < \infty\}\). This set is always convex, and \(A\) is convex on \(\mathcal{H}\).

\(A(\eta)\) : The Log-Partition Function

\(\eta\)
\(A(\eta)\)
\(\eta^*\)
slope = \(A'(\eta^*) = \mathbb{E}[T(X)]\)
convex on H

Natural vs. Mean Parameterization

Natural Parameter \(\eta\) Mean Parameter \(\mu\)
Definition Appears linearly in exponent \(\mu = \mathbb{E}[T(X)] = A'(\eta)\)
Parameter space \(\mathcal{H} = \{\eta : A(\eta) < \infty\}\) \(\mathcal{M} = \{\mu : \mu = A'(\eta)\}\)
Convex? Yes Yes
MLE equation Solve \(A'(\hat{\eta}) = \bar{T}\) Set \(\hat{\mu} = \bar{T}\) directly
Link via \(\mu = \nabla A(\eta)\) and \(\eta = \nabla A^*(\mu)\) (Legendre transform)

Example: \(\text{Bernoulli}\) Distribution

The \(\text{Bernoulli}(p)\) pmf is \(f(x \mid p) = p^x(1-p)^{1-x}\). Rewrite it:

\(\eta\)
\(\log\frac{p}{1-p}\) (log-odds)
\(T(x)\)
\(x\)
\(A(\eta)\)
\(\log(1+e^\eta)\)
\(h(x)\)
\(1\)

Example: \(\text{Normal}\) Distribution

For \(X \sim N(\mu, \sigma^2)\) with both parameters unknown, the density factors as:

\(\eta_1 = \mu/\sigma^2\)
Controls the location
\(\eta_2 = -1/(2\sigma^2)\)
Controls the spread \(\eta_2 < 0\)
\(A(\boldsymbol{\eta})\)
\(-\frac{\eta_1^2}{4\eta_2} - \frac{1}{2}\log(-2\eta_2)\)

Example: \(\text{Poisson}\) Distribution

For \(X \sim \text{Poisson}(\lambda)\), the pmf is \(f(x \mid \lambda) = \frac{\lambda^x e^{-\lambda}}{x!}\). Rewriting:

\(\eta\)
\(\log \lambda\), so \(\eta \in (-\infty, \infty)\)
\(T(x)\)
\(x\)
\(A(\eta)\)
\(e^\eta\) (since \(\lambda = e^\eta\))
\(h(x)\)
\(1/x!\)

How to Identify the Canonical Form

1
Write the density/pmf in its standard form \(f(x \mid \boldsymbol{\theta})\).
2
Take the logarithm and separate terms: those involving both \(x\) and \(\boldsymbol{\theta}\) vs. those involving only one.
3
Extract \(\boldsymbol{\eta}(\boldsymbol{\theta})\): the coefficient(s) multiplying functions of \(x\) in the cross-terms.
4
Extract \(\mathbf{T}(x)\): the function(s) of \(x\) being multiplied by \(\boldsymbol{\eta}\).
5
Collect remaining terms: \(\theta\)-only terms become \(-A(\boldsymbol{\theta})\); \(x\)-only terms become \(\log h(x)\).
6
Verify by checking \(A'(\eta) = \mathbb{E}[T(X)]\).

Worked Example: \(\text{Gamma}\)

Consider \(X \sim \text{Gamma}(\alpha, \beta)\) with shape \(\alpha\) known and rate \(\beta\) unknown:

Take the log and reorganize:

\(\eta = -\beta\)
\(\eta < 0\), so \(\mathcal{H} = (-\infty, 0)\)
\(T(x) = x\)
The observation itself
\(A(\eta) = -\alpha\log(-\eta)\)
(plus a constant in \(\alpha\))

Worked Example: \(\text{Exponential}\)

The \(\text{Exponential}(\lambda)\) distribution with rate \(\lambda > 0\): \(f(x \mid \lambda) = \lambda\,e^{-\lambda x}\) for \(x \ge 0\).

1
Log form: \(\log f = \log\lambda - \lambda x\).
2
Identify cross-term: \(-\lambda \cdot x\), so \(\eta = -\lambda\) and \(T(x) = x\).
3
Remaining \(\theta\)-term: \(\log\lambda = \log(-\eta)\), so \(A(\eta) = -\log(-\eta)\).
4
Base measure: \(h(x) = 1\) for \(x \ge 0\).
5
Verify: \(A'(\eta) = -1/\eta = 1/\lambda = \mathbb{E}[X]\). ✓

What Is Not an Exponential Family?

Not every distribution belongs to an exponential family. The key obstruction is when the support depends on the parameter.

\(\text{Uniform}(0, \theta)\)
The support \([0, \theta]\) changes with \(\theta\). The indicator \(\mathbf{1}(x \le \theta)\) cannot be separated into the exponential family form.
Cauchy
The density \(\frac{1}{\pi(1+(x-\theta)^2)}\) has no linear-in-\(\theta\) exponent structure. It is not an exponential family.

Common Mistakes

✕ Forgetting the Sign
For the \(\text{Exponential}(\lambda)\) distribution, writing \(\eta = \lambda\) instead of \(\eta = -\lambda\). The natural parameter space requires \(\eta\) to be negative.
✕ Dropping \(h(x)\)
Ignoring the base measure: for Gamma, the base measure is \(h(x) = x^{\alpha-1}/\Gamma(\alpha)\). Omitting the \(x\)-dependent part breaks the factorization.
✕ Wrong Dimension of \(\boldsymbol{\eta}\)
For \(\text{Normal}(\mu, \sigma^2)\) with both unknown, \(\boldsymbol{\eta}\) is 2-dimensional, not 1-dimensional. One parameter per unknown.

Summary of Common Families

Distribution \(\eta\) \(T(x)\) \(A(\eta)\)
Bernoulli(\(p\)) \(\log\frac{p}{1-p}\) \(x\) \(\log(1+e^\eta)\)
Poisson(\( \lambda \)) \(\log\lambda\) \(x\) \(e^\eta\)
Exponential(\( \lambda \)) \(-\lambda\) \(x\) \(-\log(-\eta)\)
Normal(\( \mu, \sigma^2_0 \)) \(\mu/\sigma^2_0\) \(x\) \(\eta^2\sigma^2_0/2\)

Question 1 of 5

For the Bernoulli(\(p\)) distribution, what is the natural parameter \(\eta\)?

Question 2 of 5

The first derivative of the log-partition function \(A'(\eta)\) equals:

Question 3 of 5

Which distribution does not belong to an exponential family?

Question 4 of 5

For the Poisson(\( \lambda \)) distribution, what is the log-partition function \(A(\eta)\)?

Question 5 of 5

For \(X \sim N(\mu, \sigma^2)\) with both \(\mu\) and \(\sigma^2\) unknown, the dimension of the natural parameter vector \(\boldsymbol{\eta}\) is: