Sufficient Statistics
A sufficient statistic keeps everything the data says about the parameter and discards the rest. Ten flips compress to one head count with zero loss.
Why Does This Exist?
Datasets are huge and parameters are few. Storing every flip to estimate one bias wastes memory and invites overfitting to noise. Sufficiency says when compression is free: is sufficient for if the conditional law of given no longer depends on .
Then the leftover detail is pure noise for your purpose. The Fisher-Neyman theorem makes it checkable: is sufficient exactly when the likelihood splits as . It connects exponential family distributions to maximum likelihood estimation.
The one idea you need first
Likelihood is viewed as a function of . If two datasets give likelihoods proportional in , they say the same thing about . Sufficiency keeps exactly that shape.
Think of It Like This
Election totals versus ballot order
Ten thousand ballots arrive in some order. To estimate vote share you need only the totals, not the sequence: every ordering with 6,000 for A says the same thing about A's support.
The count is sufficient; the order is noise given the count. Where it stops: order matters for fraud detection or time trends. Sufficiency is always for a parameter and a model; change the question and the "noise" becomes signal.
How It Actually Works
Fisher-Neyman: find and with . Only mentions , through . Minimal sufficient statistics compress furthest without loss; complete ones additionally admit unique unbiased estimation. Rao-Blackwell improves any estimator by conditioning on a sufficient : never has larger mean-squared error.
Worked example
Ten i.i.d. Bernoulli() flips with heads. Likelihood: , depending on data only through . Number of sequences mapping to is out of , yet all 210 give the same likelihood shape in . MLE: uses only . Given , every one of the 210 orders is equally likely regardless of : the order is ancillary noise.
Code
import math
n, k = 10, 6print(math.comb(n, k)) # -> 210print(round(k / n, 2)) # -> 0.6210 orders share the count 6, and the estimate 0.6 needs nothing else. The combinatorial factor absorbs the discarded order.
Watch Out For
Calling an estimator sufficient
is a number; sufficiency is a property of a statistic's -algebra. An estimator can be a function of a sufficient statistic without being sufficient itself, and conditioning on a bare estimate can lose information the full statistic kept.
Keep the statistic, derive the estimator from it. Compress to , then compute .
Reusing sufficiency under a new model
Sufficiency is model-relative. The head count is sufficient for under i.i.d. Bernoulli, but not under a Markov chain where transition counts matter, nor for detecting a mid-stream change point. New likelihood, new factorization, possibly new .
Re-verify Fisher-Neyman after any model change. If the likelihood's data dependence changes shape, so does .
The Quick Version
- is sufficient when forgets ; the rest is noise for that question.
- Fisher-Neyman: likelihood splits into times .
- Ten flips with 6 heads: 210 orders share one likelihood shape; needs only .
- Rao-Blackwell conditions any estimator on and never hurts mean-squared error.
- Sufficiency belongs to a statistic under a model, not to a bare estimate.
- Change the model and re-derive ; yesterday's compression may now lose signal.