01 / 21

Sufficient
Statistics

Learn how to compress data without losing information about the parameter, using the Factorization Theorem and key properties of sufficiency.

Mathematical Statistics

What Is a Statistic?

A statistic is any function of the observed data \( T = T(X_1, X_2, \ldots, X_n) \) that does not depend on unknown parameters. It reduces the raw sample to a summary value.

Sample Mean
\( \bar{X} = \frac{1}{n}\sum_{i=1}^{n} X_i \)
Sample Variance
\( S^2 = \frac{1}{n-1}\sum(X_i - \bar{X})^2 \)
Order Statistics
\( X_{(1)} \leq X_{(2)} \leq \cdots \leq X_{(n)} \)

The Intuition Behind Sufficiency

Imagine you observe \( n \) coin flips with unknown bias \( \theta \). You could report all \( n \) outcomes, or just the total number of heads. Does that count tell you everything about \( \theta \)?

Raw Data H, T, H, H, T, H, T, H, H, T 10 individual outcomes
\(T(\mathbf{X})\)
Sufficient Statistic
\(T = 6\)
Total heads out of 10 No Information Lost
Given \(T=6\), the remaining arrangement of H's and T's
is equally likely regardless of the value of \(\theta\)

Formal Definition of Sufficiency

Formally: \( T(\mathbf{X}) \) is sufficient for \( \theta \) if and only if

Once you know the value of the sufficient statistic, the remaining "noise" in the data carries no additional information about \( \theta \).

The Factorization Theorem

\( g(T(\mathbf{x}), \theta) \)
Depends on data only through \( T(\mathbf{x}) \) and on the parameter \( \theta \).
\( h(\mathbf{x}) \)
Depends only on the data \( \mathbf{x} \): no \( \theta \) appears here at all.

Factorization Visualized

\( f(\mathbf{x}; \theta) \)
=
\( g(T(\mathbf{x}), \theta) \)
Depends on x only through T(x) Contains all \(\theta\)-dependence
\( \times \)
\( h(\mathbf{x}) \)
Depends only on data x Free of \(\theta\) entirely
\( T(\mathbf{x}) \) is sufficient

Example: Bernoulli Distribution

Let \( X_1, \ldots, X_n \overset{\text{iid}}{\sim} \text{Bernoulli}(\theta) \). The joint pmf is:

Now identify the factorization:

\( g(t,\theta) \)
\( \theta^{t}(1-\theta)^{n-t} \) where \( t = \sum x_i \)
\( h(\mathbf{x}) \)
\( 1 \) (no leftover factor)

Example: Normal with Known \( \sigma^2 \)

Let \( X_1, \ldots, X_n \overset{\text{iid}}{\sim} \text{N}(\mu, \sigma^2) \) with \( \sigma^2 \) known. The joint pdf is:

Expand the exponent: \( \sum(x_i - \mu)^2 = \sum x_i^2 - 2\mu \sum x_i + n\mu^2 \). So:

\( g(t,\mu) \)
\( \exp\!\bigl(\frac{\mu}{\sigma^2}\sum x_i - \frac{n\mu^2}{2\sigma^2}\bigr) \)
\( h(\mathbf{x}) \)
\( (2\pi\sigma^2)^{-n/2}\exp\!\bigl(-\frac{\sum x_i^2}{2\sigma^2}\bigr) \)

Example: Normal, Both \( \mu \) and \( \sigma^2 \) Unknown

When both parameters are unknown, the exponent \( \sum(x_i - \mu)^2 \) involves two data-dependent quantities that interact with the parameters:

\( g(t_1, t_2, \mu, \sigma^2) \)
Depends on \( \sum x_i \) and \( \sum x_i^2 \) together with \( \mu, \sigma^2 \).
\( h(\mathbf{x}) \)
\( 1 \): everything is absorbed into \( g \).

Sufficient vs. Minimal Sufficient

A sufficient statistic is not unique. The entire sample \( \mathbf{X} \) is always trivially sufficient. We want the most compressed version.

Sufficient Minimal Sufficient
Definition Conditional dist. of \( \mathbf{X} \mid T \) free of \( \theta \) Sufficient, and a function of every other sufficient statistic
Uniqueness Many possible choices Essentially unique (up to bijection)
Data reduction Some reduction Maximum reduction
Example (Bernoulli) \( (\sum X_i,\, n) \) or \( \mathbf{X} \) \( \sum X_i \)

Finding Minimal Sufficient Statistics

In practice: form the likelihood ratio of two sample points \( \mathbf{x} \) and \( \mathbf{y} \). Cancel and simplify. The condition for the ratio to not depend on \( \theta \) tells you what \( T \) must be.

1
Write the ratio \( \frac{f(\mathbf{x};\theta)}{f(\mathbf{y};\theta)} \) for two generic samples.
2
Simplify and identify which terms still involve \( \theta \).
3
Set the condition: the ratio is free of \( \theta \) exactly when certain functions of \( \mathbf{x} \) and \( \mathbf{y} \) are equal. Those functions define \( T \).

Exponential Family and Sufficiency

If a distribution belongs to the exponential family, finding sufficient statistics is automatic. The general form is:

For an iid sample, the joint density factors as:

\( g \) part
\( [c(\theta)]^n \exp\!\bigl(\sum_j \eta_j(\theta)\sum_i T_j(x_i)\bigr) \)
\( h \) part
\( \prod_{i=1}^{n} h(x_i) \)

How to Apply the Factorization Theorem

1
Write the joint pdf/pmf \( f(\mathbf{x};\theta) = \prod_{i=1}^n f(x_i;\theta) \) for the \(\text{iid}\) case.
2
Collect all terms involving \( \theta \) into one factor. Group them so the data appears only through some function \( T(\mathbf{x}) \).
3
Push everything else (terms involving \( \mathbf{x} \) but not \( \theta \)) into \( h(\mathbf{x}) \).
4
Verify: Does \( g \) depend on data only through \( T \)? Does \( h \) contain no \( \theta \)? If yes, \( T \) is sufficient.
5
Simplify \( T \): any one-to-one transformation of a sufficient statistic is still sufficient (e.g., \( \sum X_i \leftrightarrow \bar{X} \)).

Worked Example: Poisson

Let \( X_1, \ldots, X_n \overset{\text{iid}}{\sim} \text{Poisson}(\lambda) \). Find a sufficient statistic for \( \lambda \).

Sufficient Statistic
\( T(\mathbf{X}) = \sum_{i=1}^{n} X_i \)
Distribution of \( T \)
\( T \sim \text{Poisson}(n\lambda) \)

Worked Example: Uniform \( (0, \theta) \)

Let \( X_1, \ldots, X_n \overset{\text{iid}}{\sim} \text{Uniform}(0, \theta) \). This is not an exponential family. Be careful!

The indicator \( \mathbf{1}(x_{(n)} < \theta) \) depends on both the data and \( \theta \), but only through the maximum \( x_{(n)} \).

\( g(t,\theta) \)
\( \frac{1}{\theta^n}\,\mathbf{1}(t < \theta) \) with \( t = x_{(n)} \)
\( h(\mathbf{x}) \)
\( \prod_{i=1}^n \mathbf{1}(x_i > 0) \)

Common Mistakes

✕ Ignoring Indicator Functions
For distributions with parameter-dependent support (Uniform, Pareto), indicator functions are part of the likelihood and affect what \( T \) must include.
✕ Thinking Sufficiency Is Unique
If \( T \) is sufficient, so is any bijection of \( T \). The sample \( \mathbf{X} \) itself is always (trivially) sufficient. Aim for minimal sufficiency.
✕ Confusing \( g \) and \( h \)
Every factor involving \( \theta \) must go into \( g \). A common error is leaving a \( \theta \)-dependent term inside \( h(\mathbf{x}) \), which invalidates the factorization.

Question 1 of 5

Let \( X_1, \ldots, X_n \overset{\text{iid}}{\sim} \text{Exponential}(\lambda) \). Which of the following is a sufficient statistic for \( \lambda \)?

Question 2 of 5

According to the Factorization Theorem, \( T(\mathbf{X}) \) is sufficient for \( \theta \) if and only if:

Question 3 of 5

For \( X_1, \ldots, X_n \overset{\text{iid}}{\sim} \text{Uniform}(0, \theta) \), which statistic is sufficient for \( \theta \)?

Question 4 of 5

If \( T(\mathbf{X}) \) is sufficient for \( \theta \), what can we say about the conditional distribution \( P(\mathbf{X} \mid T) \)?

Question 5 of 5

For \( X_1, \ldots, X_n \overset{\text{iid}}{\sim} \text{N}(\mu, \sigma^2) \) with both \( \mu \) and \( \sigma^2 \) unknown, the jointly sufficient statistic is: