Likelihood and sufficient statistics
Use factorization and conditional laws to identify what a statistic preserves about a parameter.
On this page
The question for today
What you’ll understand
- Interpret likelihood as a function of a parameter with data fixed.
- Apply the factorization criterion in a dominated model.
- Verify sufficiency by a parameter-free conditional distribution.
A binary record can be long while its information about a common success probability is compact. Under independent identical Bernoulli sampling, rearranging the observations changes the time order but not the evidence about that probability. Sufficiency gives a precise version of this claim. It does not say the record is useless for every question; a sequence can reveal an assumption failure such as clustering even when its total is sufficient inside the assumed model. Learn both what a summary preserves and what the model has excluded.
Hold the data fixed
For a model with densities or probability masses relative to a common dominating measure, the likelihood is viewed as a function of . It need not sum or integrate to one over the parameter space. A density value is not the probability of a continuously distributed observation taking one exact value. Multiplying likelihood by a positive factor depending only on the data preserves all likelihood ratios and maximizers, but multiplying by a parameter-dependent factor generally changes the inference.
If an ordered Bernoulli record has successes, its likelihood is . If only the count was recorded, its likelihood also contains the binomial coefficient. This factor counts compatible sequences and is constant as a function of . The two experiments consequently yield proportional likelihoods for the common probability. They do not have identical sample spaces, and proportional likelihood alone should not be confused with equality of all possible frequentist procedures under arbitrary sampling plans.
Sufficiency as a conditional statement
A statistic is sufficient when a version of the conditional distribution of the complete data given can be chosen independent of the parameter throughout the model. In a finite Bernoulli sample, conditioning on makes all sequences with that total equally likely. The unknown factors cancel between numerator and denominator. Once the total is known, the remaining ordering uncertainty carries no additional information about the common probability according to this model.
For dominated models, the factorization theorem provides a practical equivalent: the density can be written as a nonnegative parameter-dependent function of times a nonnegative data-only function. Supports and zero-density cases must be represented correctly. For a uniform distribution on , the sample maximum enters through an indicator constraining ; discarding that indicator destroys the likelihood. Sufficiency is always relative to the selected family, so adding a time-varying success parameter can make a previously sufficient total insufficient.
Compression is not a universal diagnosis
Sufficiency need not mean minimality. The full dataset is trivially sufficient, and appending irrelevant information to a sufficient statistic keeps it sufficient. A minimal sufficient statistic compresses as far as possible in the sense that it is a measurable function of every sufficient statistic, with the customary almost-sure qualifications. In finite positive-density models, comparing which sample likelihood ratios are constant in the parameter often identifies the minimal partition. For Bernoulli data with interior probability, two records lie in the same partition exactly when they have the same total.
Keep raw observations when checking assumptions. A record of ten zeros followed by ten ones and an alternating record have equal likelihoods for a single common Bernoulli probability, yet suggest different temporal mechanisms. Sufficiency says their orders do not help estimate that one parameter if independence and identical distribution hold. It does not certify those assumptions or erase the value of provenance. The practical workflow is to preserve the original data for diagnostics while using sufficient summaries for calculations justified by the declared model.
Work it through
A conditional distribution without p
Four iid Bernoulli observations have total two. Compute the conditional probability of the ordered record (1,0,1,0), and explain why it does not depend on the success probability.
For , the record probability is . There are distinct records containing exactly two successes.
The total probability of two successes is . Divide the selected record probability by this total to obtain its conditional probability.
All parameter factors cancel, leaving 1/6. The same calculation applies to each of the other five records, and their conditional probabilities sum to one.
The conditional probability is 1/6 for every interior p. At p = 0 or 1, total two has probability zero, so this conditional event cannot be observed under that law.
The living notebook
Explore the model
Interactive lab · probability
Separate a count law from a sequence law
Reset and set both . Predict the count-two bar: . Reset, set both , and predict . The bars change with , while the conditional probability of each compatible ordered record remains . This instrument displays counts, not sequence order.
- Mean · np
- 5
- Variance · np(1−p)
- 2.5
- Total probability
- 1
These are exact binomial probabilities for independent trials with one fixed success probability. Playback tours the distribution; it does not resample outcomes. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forA sufficient statistic has a parameter-dependent distribution even when the data conditional on it do not.
Pause & reason
Check your understanding
Your turn
Try it yourself
For two iid observations from the uniform distribution on , , write the joint density and exhibit a sufficient statistic. Explain why the sample sum is not enough by comparing records and .
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Include the support indicator before collecting the parameter-dependent terms. Which record permits a parameter value of 2.5?
Compare with the solution
The joint density is . It factors through the maximum, with the nonnegativity restriction in a data-only factor. Thus is sufficient. Both records sum to four, but at the first has zero density and the second positive density, whereas for their densities agree. Their likelihood ratio therefore depends on the parameter, demonstrating that the sum loses relevant information.
Keep the idea
Take it with you
- Likelihood fixes the observed data and varies the candidate parameter.
- Sufficiency means a parameter-free conditional law for the remaining data.
- A sufficient summary for estimation does not replace raw data for model checks.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.