Individual measurements from a constructed process vary with a standard deviation of 12 units. The mean of 100 independent measurements from the same process varies from sample to sample with a standard deviation of only 1.2 units. Both numbers describe spread, but the spread of different things, and reporting one in place of the other makes an estimate look far more or far less certain than it is. This lesson defines the standard error, shows where the square root of the sample size comes from, and explains how estimating and how dependence between observations change the calculation.
Key terms
Standard error
Definition The standard error of a statistic is the standard deviation of its sampling distribution, for a stated population, sample size and sampling design. It is written and has the same units as the statistic. A standard deviation without further qualification describes a distribution of individual values, such as the population distribution or the values in one data set.
In plain words The standard deviation measures how widely individual observations spread around their mean. The standard error measures how much a summary would change if the whole study were repeated in the same way. Both are standard deviations, but of different distributions.
Example Take a population of three cards labeled , and . One randomly drawn card has standard deviation . The mean of two cards drawn at random with replacement has a sampling distribution with variance , so the standard error of that mean is . The proportion of cards labeled in the same samples has a sampling distribution with variance , so its standard error is . Each statistic has its own standard error.
Standard error of the mean
Definition Let be independent and identically distributed with mean and finite standard deviation . Independence makes the variances add, so the sum has variance , and dividing the sum by divides its variance by . Hence
For a simple random sample of units drawn without replacement from a population of units, the draws are in general not independent. With the population variance defined with denominator , the standard error is then
and with defined with denominator the same value is .
In plain words For independent observations with a common standard deviation, the standard error of the mean shrinks like one over the square root of the sample size. Quadrupling halves it, and doubling divides it only by . The standard deviation of individual observations does not depend on at all. A larger sample makes the average more precise, not the process more consistent, and the formula assumes that the data are collected in the same way at every sample size.
Example A constructed process has units, and its measurements are independent. With the standard error of the mean is units, and with it is units, while single measurements have standard deviation units in both cases. To make the standard error at most unit, solve , which gives . If instead the units are drawn without replacement from a finite population of units with , computed with denominator , the standard error in units is
It is smaller than because half of the population has been measured.
Estimated standard error
Definition When is unknown, it is replaced by the sample standard deviation
which needs . For independent observations, the estimated standard error of the mean is . It is a statistic computed from the same sample, so it has its own sampling distribution and in general changes from sample to sample. It estimates and is generally not equal to it. For a sample proportion the usual estimate is . Under simple random sampling without replacement, where estimates , the estimate for the mean becomes .
In plain words The estimated standard error is a sample-based estimate of how much the mean moves between samples. A sample that happens to show little variation gives a small estimate even when the population is more variable. Later procedures, such as the t interval, account for this extra uncertainty under stated conditions.
Example Twenty-five constructed measurements have sample standard deviation units. Their estimated standard error of the mean is units. That number estimates how much the sample mean would vary over repeated samples. It does not say that the true standard error is exactly , and it does not say that most single measurements lie within units of the mean, since their sample standard deviation is . An error bar on a graph should state whether it shows a standard deviation, a standard error or an interval.
Cluster dependence
Definition Data have cluster dependence when the observations come in groups, such as several readings from one device, several pupils in one class or repeated measurements of one person, and observations in the same group are correlated while different groups are independent. The variance of a sum then includes covariance terms,
A simple model has clusters of observations each, so , with every observation having variance and every two observations in the same cluster having correlation . Then
The factor is the design effect of this model. When and it exceeds , and the standard error of the mean is larger than .
In plain words Ten readings from one device partly repeat the same information, because they share whatever is particular to that device. When readings within a cluster are positively correlated, a formula that treats every row as independent understates the uncertainty of the mean.
Example One hundred readings come from ten devices, ten readings each, with units and within-device correlation in the model above. The design effect is , so
units, compared with units if all readings were independent.
Effective sample size
Definition For a mean of dependent observations, each with variance , the effective sample size is the number of independent observations with the same variance that would give the mean the same variance,
In the equal-cluster model it equals . It describes precision under a specific model. It is not a count of actual units, and it need not be a whole number.
In plain words Effective sample size converts dependent data into the number of independent observations they are worth for estimating the mean. In the equal-cluster model with a correlation between and , it lies between the number of clusters and the number of rows.
Example For the hundred readings from ten devices, , and units reproduces the standard error above. If the readings from each device were identical, so that , then and , the number of devices. If they were uncorrelated, would be . Other dependence structures, such as serial correlation in a time series, need their own models.
Check yourself
- A process has standard deviation units, and its measurements are independent. Find the standard error of the mean for and for , and the smallest sample size that makes it at most units.
Show the answer
The standard errors are units and units, so quadrupling the sample size halves the standard error. The condition means , so . Individual measurements keep standard deviation units at every sample size.
- A report on independent measurements gives a mean of units and a sample standard deviation of units, and then says that a typical measurement lies within about units of the mean. Where does the come from, and what is wrong with the sentence?
Show the answer
The number is the estimated standard error of the mean, units. It estimates how much the sample mean would vary over repeated samples of measurements.
The spread of individual measurements is described by the sample standard deviation, units, four times as large. A correct report says that individual measurements have a sample standard deviation of units and that the mean of units has an estimated standard error of units.
- A researcher measures the same five people ten times each and treats the readings as independent people. In a model where every reading has variance , two readings of the same person have correlation , and different people are independent, compare the standard error of the mean with that from independent people measured once each. What happens if each of the five people is measured times instead?
Show the answer
For five people with ten readings each, and , so . The standard error is , and the effective sample size is . Fifty independent people give , smaller by a factor of . Treating the rows as people would report and understate the uncertainty.
With readings per person the effective sample size is
which is about at and stays below for every . Repeated readings can reduce measurement noise for each person, but in this model they never make five people worth more than ten independent people.