Lesson 1 of 8 · 13 min
Sample means vary
See the sample mean as a random variable whose value changes from sample to sample, tell statistics from parameters, and find the exact distribution of X̄ for a small population.
What you will be able to do
- Distinguish a parameter (, ) from a statistic (, ).
- Explain why the sample mean is a random variable, and the difference between and .
- Find the distribution of for small samples from a small discrete population.
A transport researcher wants the mean one-way commute time of every worker in Brisbane. That is far too many people to ask, so she surveys a random sample of 5 workers and calculates their mean, . A colleague surveys 5 different workers and gets a different . Neither of them is wrong. Sample means vary, and this whole topic is about how much.
Definition
Parameters and statistics
A parameter describes the whole population and is fixed: the population mean and population standard deviation . Usually you don't know it.
A statistic is calculated from a sample, so it changes from sample to sample: the sample mean and the sample standard deviation . You use statistics to estimate parameters.
Draw one sample at a time first and watch change. Then draw hundreds. Where is the histogram of centred, and is it as spread out as the population?
Before a sample is taken, its mean is unknown and could be any of many values, each with some probability. So the sample mean is a random variable, written . Once you have a particular sample, its mean is a number, written .
If is the commute time of one randomly chosen worker, then for a sample of workers
where are the times of the workers, each with the same distribution as (mean , standard deviation ).
A random sample of 40 bags of rice has mean mass 1.012 kg. The machine is set to give a mean of 1.000 kg for all bags it fills. Which statement is correct?
For a small population you can find the distribution of exactly, by listing every possible sample. Roll a fair die twice, so . A single roll has and . There are 36 equally likely ordered pairs of rolls, and each gives a sample mean.
| Total of the two rolls | ||
|---|---|---|
| 2 | 1 | |
| 3 | 1.5 | |
| 4 | 2 | |
| 5 | 2.5 | |
| 6 | 3 | |
| 7 | 3.5 | |
| 8 | 4 | |
| 9 | 4.5 | |
| 10 | 5 | |
| 11 | 5.5 | |
| 12 | 6 |
One roll is uniform on . The mean of two rolls already piles up in the middle: extreme means need both rolls to be extreme.
A fair die is rolled twice and is the mean of the two rolls. Using the table, find . Give an exact answer.
Worked example
The exact distribution of for a small population
A large bag holds equal numbers of tokens marked , and . Let be the number on a randomly drawn token. Two tokens are drawn at random, with replacement, and is the mean of the two numbers.
(a) Find the mean and variance of .
(b) Find the probability distribution of .
(c) Find and , and compare them with and .
Step 1: Find the mean and variance of one token
Each value has probability .
Step 2: List every equally likely sample
With replacement there are ordered samples, each with probability :
, , , , , , , , .
Ordered pairs are equally likely; unordered ones are not ( can happen two ways, only one).
Step 3: Tabulate the distribution of the sample mean
2 3 4 5 6 Step 4: Find
Step 5: Find
Step 6: Compare with the population
, and . The mean of two tokens is centred at with half the variance of one token, exactly as predicts for .
Try it yourself first, then check the working one step at a time.
Answer
, ; takes values with probabilities ; and .
Method
List every equally likely ordered sample and its mean.
Group equal means to get the distribution of .
Use and .
Compare with and .
Watch out for
Treating and as equally likely. Count ordered samples.
Forgetting to subtract when finding the variance.
Key idea
What the table already shows
The distribution of is centred at the population mean (), it is less spread out than one roll (, exactly half of ), and it is more bell-shaped than the population. The next two lessons make each of these precise.
Common mistake
x̄ is not μ
Your sample mean is an estimate of , not itself. Writing "" from a sample of 40 bags loses marks. Write ", which estimates ".
Summary
Parameters (, ) describe the population and are fixed; statistics (, ) come from a sample and vary.
The sample mean is a random variable; is its value for one sample.
For a small population, list every equally likely sample to find the exact distribution of .
The distribution of is centred at , narrower than the population, and more bell-shaped.
Finished the lesson?
Try the 2 quick checks above and the lesson completes itself, or mark it complete now.