Lably
Skip to content

Standard error

Statistical property

  • 9 min read
  • 4 chapters

Related on Lably

Through Statistic, Standard deviation and Sampling distribution

The sampling distribution of a mean is generated by repeated sampling from the same population and recording the sample mean per sample. This forms a distribution of different sample means, and this distribution has its own mean and variance. Mathematically, the variance of the sampling mean distribution obtained is equal to the variance of the population divided by the sample size. This is because as the sample size increases, sample means cluster more closely around the population mean.

Therefore, the relationship between the standard error of the mean and the standard deviation is such that, for a given sample size, the standard error of the mean equals the standard deviation divided by the square root of the sample size. In other words, the standard error of the mean is a measure of the dispersion of sample means around the population mean.

In regression analysis, the term "standard error" can also be used to refer to the square root of the reduced chi-squared statistic in addition to the more common use in describing the standard error for a particular regression coefficient as used in confidence intervals.

Standard error of the sample mean

Exact value

Suppose a statistically independent sample of n observations x1,x2,…,xn is taken from a statistical population with a standard deviation of σ (the standard deviation of the population). The mean value calculated from the sample, x¯, will have an associated standard error on the mean, σx¯, given by:

σx¯=σn.

Practically this tells us that when trying to estimate the value of a population mean, due to the factor 1/n, reducing the error on the estimate by a factor of two requires acquiring four times as many observations in the sample; reducing it by a factor of ten requires a hundred times as many observations.

Estimate

The standard deviation σ of the population being sampled is seldom known. Therefore, the standard error of the mean is usually estimated by replacing σ with the sample standard deviation σx instead: σx¯≈σxn.

As this is only an estimator for the true "standard error", it is common to see other notations here such as: σ^x¯:=σxn or sx¯:=sn.

A common source of confusion occurs when failing to distinguish clearly between:

  • the standard deviation of the population (σ),
  • the standard deviation of the sample (σx),
  • the standard deviation of the sample mean itself (σx¯, which is the standard error), and
  • the estimator of the standard deviation of the sample mean (σ^x¯, which is the most often calculated quantity, and is also often colloquially called the standard error).

Accuracy of the estimator

When the sample size is small, using the standard deviation of the sample instead of the true standard deviation of the population will tend to systematically underestimate the population standard deviation, and therefore also the standard error. With n = 2, the underestimate is about 25%, but for n = 6, the underestimate is only 5%. Gurland and Tripathi (1971) provide a correction and equation for this effect. Sokal and Rohlf (1981) give an equation of the correction factor for small samples of n < 20. See unbiased estimation of standard deviation for further discussion.

Derivation

The standard error on the mean may be derived from the variance of a sum of independent random variables, given the definition of variance and some properties thereof. If x1,x2,…,xn is a sample of n independent observations from a population with mean x and standard deviation σ, then we can define the total T=(x1+x2+⋯+xn), which due to the Bienaymé formula, will have variance

Var⁡(T)=Var⁡(x1)+Var⁡(x2)+⋯+Var⁡(xn)=nσ2.

The mean of these measurements x¯ (sample mean) is given by x¯=T/n. The variance of the mean is then

Var⁡(x¯)=Var⁡(Tn)=1n2Var⁡(T)=1n2nσ2=σ2n,

where a propagation in variance is used in the 2nd equality. The standard error is, by definition, the standard deviation of x¯ which is the square root of the variance:

σx¯=σ2n=σn.

In other words, if there are a large number of observations per sampling (n is high compared with the population variance σ), then the calculated mean per sample x¯ is expected to be close to the population mean x.

For correlated random variables, the sample variance needs to be computed according to the Markov chain central limit theorem.

Independent and identically distributed random variables with random sample size

There are cases when a sample is taken without knowing, in advance, how many observations will be acceptable according to some criterion. In such cases, the sample size N is a random variable whose variation adds to the variation of X such that,Var⁡(T)=E⁡(N)Var⁡(X)+Var⁡(N)(E⁡(X))2 which follows from the law of total variance.

If N has a Poisson distribution, then E⁡(N)=Var⁡(N) with estimator n=N. Hence the estimator of Var⁡(T) becomes nSX2+nX¯2, leading the following formula for standard error: StandardError⁡(X¯)=SX2+X¯2n (since the standard deviation is the square root of the variance).

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Statistics and probability