A-Level & first-year statistics ·
The mean of a
random sample
Free study notes from A-Level & introductory statistics.
Before distributions, before hypothesis tests, there is one idea everything else rests on: the sample mean. When you take a sample and average it, you get a number, but if you took a different sample you would get a slightly different number. So the sample mean is itself uncertain, and understanding its behaviour is the key that unlocks the rest of statistics.
The sample mean is a number and a random variable
Suppose you want the average height of students at a college. You cannot measure everyone, so you take a random sample of \(n\) students and compute
$$\bar X=\frac{X_1+X_2+\cdots+X_n}{n}.$$
This gives one number. But a different random sample of \(n\) students would give a slightly different average. Because it changes from sample to sample, \(\bar X\) is a random variable with its own distribution, called the sampling distribution of the mean. Two summaries of that distribution tell you almost everything.
1. On average, the sample mean is right
If the population has mean \(\mu\), then \(\mathbb{E}[\bar X]=\mu\). Averaged over all possible samples, the sample mean neither systematically over- nor under-shoots the truth. We say it is an unbiased estimator of \(\mu\).
What students say
“Dr Grant's mock interviews were incredibly realistic and helped me develop the confidence and analytical thinking needed for Cambridge. His personal statement guidance was equally valuable. His mentorship made a huge difference throughout my application, and I am delighted to have received my Cambridge offer.”
“Dr Grant's guidance throughout my LSE application was exceptional. His interview coaching and personal statement feedback strengthened both my confidence and my academic approach. I highly recommend him to any student applying for competitive Economics programmes.”
“Every mock interview with Dr Grant challenged me to think more deeply and communicate my ideas clearly. His feedback was insightful, encouraging and practical. I felt thoroughly prepared for my Cambridge interview and was thrilled to receive an offer.”
“Dr Grant helped me develop genuine economic reasoning rather than memorising answers. His realistic interview preparation and thoughtful advice gave me the confidence to perform at my best and secure my Cambridge offer.”
“Dr Grant is an outstanding mentor whose interview preparation closely reflected the real Cambridge experience. His support with both my personal statement and interview performance played a significant role in my successful application.”
2. Bigger samples are more reliable
If the population has standard deviation \(\sigma\), the standard deviation of the sample mean, its standard error, is
$$\text{s.e.}(\bar X)=\frac{\sigma}{\sqrt n}.$$
The \(\sqrt n\) on the bottom is the whole story of why sampling works: the bigger the sample, the smaller the spread of \(\bar X\), so the closer it tends to be to \(\mu\). Note it is \(\sqrt n\), not \(n\), to halve the standard error you need four times the data.
One person can be unusually tall or short and pull a small average a long way. Average 100 people and the tall and short mostly cancel, so the average barely budges between samples. More data doesn't change any individual, it steadies the average.
Worked example
Adult heights have mean \(\mu=170\) cm and standard deviation \(\sigma=10\) cm. You take a random sample of \(n=25\).
Expected sample mean: \(\mathbb{E}[\bar X]=170\) cm.
Standard error: \(\sigma/\sqrt n=10/\sqrt{25}=10/5=2\) cm.
So a sample of 25 gives an average that is typically within a couple of centimetres of 170. Increase the sample to \(n=100\) and the standard error falls to \(10/10=1\) cm, twice as precise, for four times the data.
Where this leads
Two famous theorems finish the story of the sample mean. The Law of Large Numbers says that as \(n\) grows, \(\bar X\) settles onto \(\mu\) (the standard error shrinks to zero). The Central Limit Theorem says the shape of \(\bar X\)'s distribution becomes a normal bell curve, centred on \(\mu\) with width \(\sigma/\sqrt n\), which is precisely what makes hypothesis testing on the mean possible.
Check your understanding
A population has \(\sigma=8\). What is the standard error of the mean of a sample of 16?
\(\sigma/\sqrt n=8/\sqrt{16}=8/4=2\).
You want to make the sample mean three times as precise (a third of the standard error). How much more data do you need?
Nine times as much. Standard error is \(\sigma/\sqrt n\), so cutting it to a third requires \(\sqrt n\) to triple, that is, \(n\) to increase by a factor of \(3^2=9\).
Why is the sample mean called "unbiased"?
Because its average over all possible samples equals the true population mean, \(\mathbb{E}[\bar X]=\mu\): it has no systematic tendency to be too high or too low.
Related notes
Learning this for a
course or exam?
I tutor statistics and econometrics from first principles through to postgraduate level, with worked examples at your pace. The first consultation is free.
