A statistic cannot contain more information than the random sample that it summarises. The degree to which a statistic encodes information about the distribution of a random sample is referred to as sufficiency.

Given a random sample X‾\underline{X} of size nn from the population PX; θ,\mathbb{P}_{X;\,\theta}, a statistic TT is a sufficient statistic for the parameter θ\theta if:

P(X‾∣T,θ)=P(X‾∣T).\mathbb{P}\left(\underline{X}\mid T,\theta\right)=\mathbb{P}\left(\underline{X}\mid T\right).

That is, the conditional distribution of the random sample given the value of the statistic TT is independent of the parameter θ.\theta.

If the population PX; θ\mathbb{P}_{X;\,\theta} is continuous with joint pdf of the random sample given by fX‾(x‾∣θ)f_{\underline{X}}\left(\underline{x}\mid\theta\right) and the pdf of a statistic T=t(X‾)T=t\left(\underline{X}\right) is given by fT(t∣θ)f_T\left(t\mid\theta\right) then TT is a sufficient statistic for θ\theta if and only if the ratio of pdfs

fX‾(x‾∣θ)fT(t(x‾)∣θ)\frac{f_{\underline{X}}\left(\underline{x}\mid\theta\right)}{f_T\left(t\left(\underline{x}\right)\mid\theta\right)}

does not depend on θ\theta (it is constant as a function of θ\theta) ∀ x‾∈Sn.\forall\,\underline{x}\in S^n.

The factorisation theorem states that a statistic T=t(X‾)T=t\left(\underline{X}\right) is a sufficient statistic for θ\theta if and only if there exist functions u(t∣θ)u\left(t\mid\theta\right) and v(x‾)v\left(\underline{x}\right) such that the joint pdf of the random sample can be factored:

fX‾(x‾∣θ)=u(t(x‾)∣θ)v(x‾)  ∀ x‾∈Sn, θ∈Θ.f_{\underline{X}}\left(\underline{x}\mid\theta\right)=u\left(t\left(\underline{x}\right)\mid\theta\right)v\left(\underline{x}\right)\,\,\forall\,\underline{x}\in S^n,\,\theta\in\Theta.

The tests for sufficient statistics are also true for discrete random samples using the corresponding pmfs instead.