Algorithm Search⌘K

Definitioncore

Sufficient statistic

Also called sufficiency.

A statistic T such that the conditional distribution of the data given T does not depend on the parameter, so T holds all the information the sample has about it.

A sufficient statistic is a statistic T=t(X1,…,Xn)T = t(X_1, \ldots, X_n) such that the conditional distribution of the sample given TT is the same for every value of the parameter θ\theta. Once TT is known, the rest of the sample is noise whose law does not depend on θ\theta, so a procedure that uses only TT loses nothing. Fisher (1922) gave the definition. The Fisher-Neyman factorization theorem is the usual way to find one, and the Rao-Blackwell theorem uses one to improve an estimator.

Definition

The model. The sample X=(X1,…,Xn)X = (X_1, \ldots, X_n) has joint density or mass function f(x;θ)f(x; \theta), θ∈Θ\theta \in \Theta. PθP_\theta and Eθ\mathbb{E}_\theta are the probability and the expectation when θ\theta is the true value. A statistic is T=t(X)T = t(X) for a fixed function tt that does not use θ\theta (estimator gives the details).

Sufficient statistic. TT is sufficient for θ\theta (for the family {f(⋅ ;θ):θ∈Θ}\{f(\cdot\,; \theta) : \theta \in \Theta\}) when the conditional distribution of XX given TT does not depend on θ\theta. For discrete data this means: for each xx and each tt with Pθ(T=t)>0P_\theta(T = t) > 0,

Pθ(X=x∣T=t)  is the same number for every θ∈Θ.P_\theta(X = x \mid T = t) \ \text{ is the same number for every } \theta \in \Theta.

For continuous data the condition is on a version of the conditional distribution of XX given TT, which needs measure theory (Halmos and Savage 1949); in practice one checks sufficiency with the factorization theorem.

A test by ratios (discrete case). Let q(t;θ)=Pθ(T=t)q(t; \theta) = P_\theta(T = t). Then TT is sufficient if and only if, for every xx with f(x;θ)>0f(x; \theta) > 0 for some θ\theta, the ratio f(x;θ)/q(t(x);θ)f(x; \theta) / q(t(x); \theta) is the same for every θ\theta (Casella and Berger, Theorem 6.2.2). Proof. The event {X=x}\{X = x\} is contained in {T=t(x)}\{T = t(x)\}, so Pθ(X=x∣T=t(x))=f(x;θ)/q(t(x);θ)P_\theta(X = x \mid T = t(x)) = f(x; \theta) / q(t(x); \theta), and Pθ(X=x∣T=t)=0P_\theta(X = x \mid T = t) = 0 when t≠t(x)t \ne t(x). □\square

Minimal sufficient statistic. A sufficient statistic TT is minimal sufficient when it is a function of every other sufficient statistic: for every sufficient UU there is a function rr with T=r(U)T = r(U). It gives the largest reduction of the data that keeps sufficiency. The likelihood ratio criterion (Lehmann and Scheffé 1950; Casella and Berger, Theorem 6.2.13): if for every pair of sample points x,yx, y the ratio f(x;θ)/f(y;θ)f(x; \theta) / f(y; \theta) is constant as a function of θ\theta exactly when t(x)=t(y)t(x) = t(y), then TT is minimal sufficient.

Properties

(a) The sample can be rebuilt. Let TT be sufficient and discrete, and let k(x∣t)k(x \mid t) be the conditional mass function of XX given T=tT = t, which does not depend on θ\theta. Draw X∗X^* from k(⋅∣T)k(\cdot \mid T) with a random number generator. Then X∗X^* has the same distribution as XX under every θ\theta:

Pθ(X∗=x)=∑tk(x∣t) Pθ(T=t)=∑tPθ(X=x∣T=t) Pθ(T=t)=Pθ(X=x).P_\theta(X^* = x) = \sum_t k(x \mid t)\, P_\theta(T = t) = \sum_t P_\theta(X = x \mid T = t)\, P_\theta(T = t) = P_\theta(X = x).

So any procedure that uses XX has a randomized copy that uses only TT and has the same distribution of outcomes, and so the same risk, at every θ\theta. This is the exact sense of "TT holds all the information about θ\theta".

(b) Coarser and finer statistics. If TT is sufficient and T=r(U)T = r(U) for a statistic UU, then UU is sufficient too. So the full sample XX is always sufficient, and a one-to-one function of a sufficient statistic is sufficient. A function of a sufficient statistic that loses information, such as Xˉ\bar X alone when the variance is unknown, is in general not sufficient.

(c) The order statistic. For iid data, the order statistics (X(1),…,X(n))(X_{(1)}, \ldots, X_{(n)}) are sufficient in every model: given the sorted values, each of the n!n! arrangements has the same conditional probability when the values are distinct, whatever θ\theta is.

(d) Bayesian sufficiency. For any prior on θ\theta, the posterior given XX equals the posterior given TT. By the factorization theorem f(x;θ)=g(t(x);θ) h(x)f(x; \theta) = g(t(x); \theta)\, h(x), and h(x)h(x) cancels when the posterior is normalized (see Bayesian inference).

(e) Information. Under the regularity conditions of the score function, the score of the sample is ∂θlog⁡g(t(x);θ)\partial_\theta \log g(t(x); \theta), a function of TT only, so the Fisher information in TT equals the information in the whole sample.

Examples and non-examples

Bernoulli trials. Let X1,X2,X3X_1, X_2, X_3 be iid Bernoulli(p)(p) and T=X1+X2+X3T = X_1 + X_2 + X_3. Given T=2T = 2, the sample is one of (1,1,0)(1,1,0), (1,0,1)(1,0,1) and (0,1,1)(0,1,1). Each has probability p2(1−p)p^2(1-p), and Pp(T=2)=3p2(1−p)P_p(T = 2) = 3p^2(1-p), so each has conditional probability 1/31/3 for every pp. At p=1/4p = 1/4, P(T=2)=9/64P(T = 2) = 9/64; at p=2/3p = 2/3, P(T=2)=4/9P(T = 2) = 4/9; the conditional law is the same. In general, given T=tT = t, every 0-1 sequence with tt ones has conditional probability 1/(nt)1/\binom{n}{t}. So TT is sufficient.

Bernoulli, minimal. For two 0-1 samples xx and yy of size nn, f(x;p)/f(y;p)=(p/(1−p))∑xi−∑yif(x; p)/f(y; p) = (p/(1-p))^{\sum x_i - \sum y_i}. It is constant in pp exactly when ∑xi=∑yi\sum x_i = \sum y_i, so ∑Xi\sum X_i is minimal sufficient by the likelihood ratio criterion.

Normal with both parameters unknown. For iid N(μ,σ2)N(\mu, \sigma^2) data,

f(x;μ,σ2)=(2πσ2)−n/2exp⁡ ⁣(−∑i(xi−xˉ)2+n(xˉ−μ)22σ2),f(x; \mu, \sigma^2) = (2\pi\sigma^2)^{-n/2} \exp\!\Big(-\frac{\sum_i (x_i - \bar x)^2 + n(\bar x - \mu)^2}{2\sigma^2}\Big),

so (Xˉ,S2)(\bar X, S^2) is sufficient, with S2=1n−1∑i(Xi−Xˉ)2S^2 = \frac{1}{n-1}\sum_i (X_i - \bar X)^2 (divisor n−1n - 1). The samples (3,7,7,9,14)(3, 7, 7, 9, 14) and (2,6,10,10,12)(2, 6, 10, 10, 12) both have xˉ=8\bar x = 8 and ∑i(xi−xˉ)2=64\sum_i (x_i - \bar x)^2 = 64, so S2=16S^2 = 16. They have the same likelihood for every (μ,σ2)(\mu, \sigma^2), and under this model they lead to the same inference. The pair is also minimal sufficient.

Uniform. For iid Uniform(0,θ)(0, \theta) data, f(x;θ)=θ−n 1{max⁡ixi≤θ}f(x; \theta) = \theta^{-n}\, \mathbf{1}\{\max_i x_i \le \theta\} for xi≥0x_i \ge 0, so max⁡iXi\max_i X_i is sufficient. On (3,7,7,9,14)(3, 7, 7, 9, 14) it is 1414. The family is not an exponential family, because the support moves with θ\theta.

Poisson and other exponential families. For iid Poisson(λ)(\lambda) data, ∑iXi\sum_i X_i is sufficient. Given ∑iXi=t\sum_i X_i = t, the vector XX is multinomial with tt trials and equal cell probabilities 1/n1/n, which does not involve λ\lambda. For any exponential family h(x)exp⁡(η(θ)⊤T(x)−A(θ))h(x)\exp(\eta(\theta)^\top T(x) - A(\theta)), the sum ∑iT(Xi)\sum_i T(X_i) is sufficient.

Non-example: one observation of two. For iid Bernoulli(p)(p) X1,X2X_1, X_2, the statistic X1X_1 is not sufficient: Pp(X=(1,0)∣X1=1)=1−pP_p(X = (1, 0) \mid X_1 = 1) = 1 - p, which is 3/43/4 at p=1/4p = 1/4 and 1/21/2 at p=1/2p = 1/2.

Non-example: the mean alone. For N(μ,σ2)N(\mu, \sigma^2) data with σ2\sigma^2 unknown, Xˉ\bar X is not sufficient for (μ,σ2)(\mu, \sigma^2): given Xˉ\bar X, the spread of the sample around Xˉ\bar X still carries information about σ2\sigma^2. With σ2\sigma^2 known, Xˉ\bar X is sufficient for μ\mu.

No reduction. For iid Cauchy data with an unknown location, and for the Laplace location family, the order statistic is minimal sufficient (Lehmann and Casella, Section 1.6). The data cannot be reduced below the sorted sample without loss.

Pitfalls

  • Sufficiency is relative to a model. (Xˉ,S2)(\bar X, S^2) is sufficient under the normal model only. Under a heavier-tailed model, two samples with the same mean and variance can carry different information. A summary that is sufficient for a wrong model can hide the evidence that the model is wrong.
  • Sufficient is not minimal. The whole sample is sufficient. A claim of "data reduction" needs a minimal sufficient statistic, or at least one of fixed dimension.
  • A sufficient statistic for part of the parameter. When θ=(ψ,λ)\theta = (\psi, \lambda) with a nuisance λ\lambda, "sufficient for ψ\psi" has no single standard meaning. The definition here is for the whole parameter.
  • The support. In the uniform example, forgetting the indicator 1{max⁡ixi≤θ}\mathbf{1}\{\max_i x_i \le \theta\} makes the density look free of the data, and gives the wrong statistic.
  • Fisher-Neyman factorization theorem: TT is sufficient if and only if f(x;θ)=g(t(x);θ) h(x)f(x; \theta) = g(t(x); \theta)\, h(x).
  • Complete statistic: no nonzero function of TT has mean zero for every θ\theta. A complete sufficient statistic is minimal sufficient when a minimal one exists, and it is independent of every ancillary statistic (Basu's theorem).
  • Ancillary statistic: a statistic whose distribution does not depend on θ\theta, such as the range X(n)−X(1)X_{(n)} - X_{(1)} in a location family. It is the opposite extreme of a sufficient statistic.
  • Rao-Blackwell theorem and Lehmann-Scheffé theorem: conditioning on a sufficient statistic improves an estimator, and with completeness gives the minimum variance unbiased estimator.
  • Likelihood function: the likelihood depends on the data only through any sufficient statistic, up to a factor free of θ\theta.
  • Streaming summaries: Welford's algorithm keeps (n,xˉ,∑(xi−xˉ)2)(n, \bar x, \sum (x_i - \bar x)^2), a sufficient statistic of the normal model, in one pass.

References

  1. George Casella and Roger L. Berger, Statistical Inference, second edition, Duxbury, 2002, Section 6.2.1 (Definition 6.2.1, Theorem 6.2.2 and the factorization Theorem 6.2.6) and Section 6.2.2 (minimal sufficiency, Definition 6.2.11 and Theorem 6.2.13)
  2. E. L. Lehmann and George Casella, Theory of Point Estimation, second edition, Springer, 1998, Chapter 1, Section 1.6 (sufficient statistics, minimal sufficiency and the order statistic)
  3. R. A. Fisher, On the mathematical foundations of theoretical statistics, Philosophical Transactions of the Royal Society of London, Series A 222 (1922), pages 309 to 368, the definition of the criterion of sufficiency
  4. Lehmann and Scheffé 1950, minimal sufficient statistics and the likelihood ratio criterion

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/NJ4S6J/text.yaml