You are here
Homestatistic
Primary tabs
statistic
A statistic, or sample statistic, $S$ is simply a function, usually realvalued, of a set of (sample) data or observations $\boldsymbol{X}=(X_{1},X_{2},\ldots,X_{n})$: $S=S(\boldsymbol{X})$. More formally, let $\Omega$ be the sample space of the data $\boldsymbol{X}$, then $S$ is a function from $\Omega$ to some set $T$, usually a subset of $\mathbb{R}^{k}$. The data $\boldsymbol{X}$ is usually considered as a vector of iid random variables $X_{i}$.
Examples
1. 100 light bulbs out of 1,000,000 are tested for their functionality. Then the number $n$, of defective light bulbs in the 100 samples is a statistic. To see this, define, for each $i$ from 1 to 100,
$x_{i}=\begin{cases}1&\text{if the event }X_{i}=\{\text{the }i\text{th light % bulb is defective}\}\\ 0&\text{otherwise.}\end{cases}$ Then $n=\sum_{{i=1}}^{{100}}x_{i}$, a function of the data. Similarly, the number of operating light bulbs is also a statistic if we switch the 1 and 0 in the above definitions for the $x_{i}$’s. If we make all $x_{i}=1$, then $n$ is just the count of the observations, one of the simplest forms of sample statistics. If we make all $x_{i}=0$, then $n=0$ is a statistic that is not at all useful.
2. Let $w_{1},w_{2},\ldots,w_{{20}}$ be the weights of 20 students from a particular college. Then the average weight defined by
$\overline{w}=\frac{1}{20}\sum_{{i=1}}^{{20}}w_{i}$ is a statistic. It is commonly called the sample mean. It is often used to estimate $\operatorname{E}[X]$, the expectation of a particular random variable, which, in this case, is the weight of a student in the college. Of course, other averages, such as medians, mode, trimmed mean, are also examples of (sample) statistics.
3. Using the same example as in (2), we can define
$s^{2}=\frac{1}{201}\sum_{{i=1}}^{{20}}(w_{i}\overline{w})^{2}.$ This is also a statistic, for, after some substitution and rewriting,
$s^{2}=\frac{1}{201}\Big[\sum_{{i=1}}^{{20}}{w_{i}}^{2}\frac{1}{20}(\sum_{{i=% 1}}^{{20}}{w_{i})}^{2}\Big],$ which is a function explicitly in terms of the $w_{i}$’s. This statistic is known as the sample variance, which is a common estimate of $\operatorname{Var}[X]$, the variance of the random variable $X$. Again, in this example, the $X$ is the weight of a student in the college.
4. Again, borrowing from the same example above, we can simply order the weights of the 20 students in an ascending order, so we get a vector of 20 real numbers $(w_{{(1)}},w_{{(2)}},\ldots,w_{{(20)}})$. This is also a statistic, called an order statistic. It is not realvalued and its range is a subset of $\mathbb{R}^{{20}}$.
5. Given a set of numeric observations $X_{1},X_{2},\ldots,X_{n}$, without knowing the distribution of these observations, one can define what is known as the empirical distribution function $\hat{F}$, which is a realvalued function, based on the observations. This is an example of a statistic whose range is a function space.
Remarks.

Any function of a statistic is again a statistic.

Since the underlying data is assumed to be random, a statistic is necessarily a random variable.

Although mostly realvalued, a statistic can be vectorvalued, or even functionvalued as we have seen in earlier examples.
Mathematics Subject Classification
62A01 no label found Forums
 Planetary Bugs
 HS/Secondary
 University/Tertiary
 Graduate/Advanced
 Industry/Practice
 Research Topics
 LaTeX help
 Math Comptetitions
 Math History
 Math Humor
 PlanetMath Comments
 PlanetMath System Updates and News
 PlanetMath help
 PlanetMath.ORG
 Strategic Communications Development
 The Math Pub
 Testing messages (ignore)
 Other useful stuff
 Corrections