The Sample Mean and the Standard Error
~6 min read · Tier toggle changes depth (T1 plain · T2 standard · T3 rigour)
You should be comfortable with the definitions of expectation and variance for a single random variable, and understand that independent measurements imply their covariance is zero.
Why this matters
The standard error is the single most important quantity in experimental physics because it quantifies how precisely we have determined the true value.
In the previous lecture, we learned how to propagate uncertainties through mathematical functions. However, that formalism assumes we know the uncertainty of each individual measurement. In practice, we rarely have a single perfect measurement; we have a set of noisy data points. The central question of this lecture is: if we take \(N\) independent measurements of a quantity, how much more precise is our estimate of the true value compared to a single measurement? The answer, encapsulated in the standard error of the mean, provides the rigorous link between raw data and the final reported value with its error bar.
The Intuition of Averaging
Imagine you are measuring the length of a table with a ruler that has a random jitter in your hand. If you measure once, your result might be too long or too short by some random amount. If you measure ten times, some results will be too long and some too short. When you average these ten results, the random errors tend to cancel each other out. The positive errors and negative errors do not add up linearly; instead, they accumulate in a way that grows more slowly than the number of measurements. This is why averaging is the most powerful tool in experimental physics: it suppresses random noise. The key insight is that while the total "amount" of noise increases with more measurements, the *relative* impact of that noise on the final average decreases. We are not just adding up errors; we are averaging them, and the mathematics of independent random variables dictates that this averaging process reduces the spread of the final result.
Unbiasedness of the Sample Mean
Before we can discuss the precision of the sample mean, we must establish that it is a good estimator of the true mean \(\mu\). An estimator is unbiased if its expected value equals the true parameter. Let \(x_1, x_2, \dots, x_N\) be independent and identically distributed (i.i.d.) random variables with mean \(\mu\) and variance \(\sigma^2\). The sample mean is defined as:
Using the linearity of expectation, we can compute the expected value of \(\bar{x}\):
This result confirms that the sample mean is an unbiased estimator of the population mean. On average, if we repeated the experiment many times, our calculated means would centre exactly on the true value \(\mu\). There is no systematic bias introduced by the averaging process itself.
Variance of the Sample Mean
The precision of the estimator is determined by its variance. We want to find \(\mathrm{Var}(\bar{x})\). Recall the property of variance for a sum of independent random variables: the variance of the sum is the sum of the variances. This property holds because the covariance terms vanish for independent variables.
Since each \(x_i\) has variance \(\sigma^2\), we have:
Now we apply the scaling property of variance, \(\mathrm{Var}(cX) = c^2 \mathrm{Var}(X)\), where \(c = 1/N\):
This is the crucial result. The variance of the mean is the individual variance divided by the number of measurements. This derivation relies critically on the independence of the measurements. If the measurements were correlated, the covariance terms would not vanish, and the variance would not decrease as \(1/N\).
The Standard Error of the Mean
The standard deviation of the sample mean is called the standard error of the mean (SE). It is the square root of the variance of the mean:
This formula tells us that the uncertainty on the mean decreases as the inverse square root of the number of measurements. To reduce the standard error by a factor of 2, we must increase the number of measurements by a factor of 4. To reduce it by a factor of 10, we need 100 times as many measurements. This \(N^{-1/2}\) scaling law is a fundamental constraint in experimental design. It implies that there are diminishing returns to precision: the first few measurements provide the largest gain in precision, while subsequent measurements provide progressively smaller improvements. In practice, this means that if your current error bar is too large, simply taking more data is often the most efficient way to improve your result, provided the measurements remain independent and unbiased.
The derivation
The Standard Error of the Mean
For N independent measurements x1, x2, …, xN drawn from a common distribution of mean μ and variance σ2, the sample mean x̄ = (1/N)∑i xi is unbiased, E[x̄] = μ, and has variance Var(x̄) = σ2/N. Its standard deviation — the standard error of the mean — is therefore SE = σ/√N, so the uncertainty on the mean shrinks as N−1/2.
The formula \(\mathrm{SE} = \sigma/\sqrt{N}\) assumes that the measurements are independent. If your data points are correlated (for example, due to drift in an instrument or shared environmental noise), the effective number of independent measurements is less than \(N\), and the standard error will be larger than \(\sigma/\sqrt{N}\). Always check for correlations before applying this formula. C
Worked example
Problem. A student measures the period of a pendulum 25 times. The sample standard deviation of the individual measurements is \(s = 0.05\ \mathrm{s}\). Calculate the standard error of the mean period.
- Identify the given values: \(N = 25\) and \(s = 0.05\ \mathrm{s}\).
- Use the sample standard deviation \(s\) as an estimate for \(\sigma\).
- Apply the standard error formula: \(\mathrm{SE} = s/\sqrt{N}\).
- Calculate: \(\mathrm{SE} = 0.05 / \sqrt{25} = 0.05 / 5 = 0.01\ \mathrm{s}\).
Units check. The standard deviation \(s\) has units of seconds. The square root of \(N\) is dimensionless. Therefore, the standard error has units of seconds, which is consistent with the quantity being measured (time).
Three quick tests
- If you double the number of independent measurements, by what factor does the standard error decrease?
Answer
It decreases by a factor of \(\sqrt{2}\). - Is the sample mean always an unbiased estimator of the population mean?
Answer
Yes, provided the measurements are drawn from a distribution with a finite mean. - What assumption about the measurements is critical for the formula \(\mathrm{Var}(\bar{x}) = \sigma^2/N\) to hold?
Answer
The measurements must be independent.
Problem set for PU-106 →
Each derivation in this unit ends with five graded problems with full solutions.
Lecture notes drafted with a local model and checked line by line by the editor; every number in the worked example was recomputed.
Derivations cited: D-112 · Threads: chance