A statistic is a function of a statistical sample, in the sense of a set of random variables, used to quantify properties of the sample, generally for descriptive or testing purposes. It is itself a random variable. Examples include the sample mean and sample variance. See also Functions of random variables for general properties.
Given a random vectorX of JDFfX(x;θ) (θ is a parameter), a statistic t(X) is said to be sufficient for θ if it such that fX(x;θ) can be written as
fX(x;θ)=h(X)g(t(X);θ)
where h is a statistic that is independent of θ and g is a statistic that depends on X only through t(X). All the information available on θ contained in X is supplied by t(X).
Given a vector of iidGaussian random variables, Xi∼N(μ,σ2), the parameters θ are θ=(μ,σ2). The PDF of the random vector is a multivariate normal:
It can be proven that the statistic t(X)=(yˉ,s2) is sufficient for θ. yˉ and s2 are the sample mean and sample variance of the random vector (interpreted as a sample).