6.4 Sampling and estimation
Samples and populations
A population is the whole group being studied. A sample is the part you collect data from. Sampling is cheaper and quicker, and it is the only option if testing destroys the item.
A random sample gives every possible sample of that size an equal chance of being chosen. It avoids bias, and it allows the probability results below to be used. For example, number the members and use random numbers to choose them.
Why a sampling method can be unsatisfactory
Give the specific reason, linked to the context.
| Method | Problem |
|---|---|
| Asking people at a gym about their exercise | Only people who go to a gym can be chosen, so the sample is not representative |
| Choosing the first 30 students in a register | Not random: names late in the alphabet can never be chosen |
| Asking one class in a school | The students share teachers and a year group |
| Asking people to volunteer | People with strong views are more likely to reply |
The distribution of the sample mean
Different samples give different means, so the sample mean is itself a random variable.
Larger samples vary less. If is normal, is exactly normal for any :
, with a standard deviation of 0.8:
The Central Limit Theorem
Unbiased estimates
An unbiased estimate is one whose long-run average equals the true value. Dividing by for the variance corrects the bias from using the sample's own mean.
Confidence intervals for a mean
A confidence interval gives a range of likely values of the population mean.
| Confidence level | 90% | 95% | 98% | 99% |
|---|---|---|---|---|
| 1.645 | 1.960 | 2.326 | 2.576 |
The interval is .
For a population that is not known to be normal, use a large sample and the Central Limit Theorem. If is unknown, a large sample lets you use in its place.
What the interval means
The true mean does not vary, and the interval does. Avoid saying "the probability that is in this interval is 95%".
The size of the sample and the width
The width is . Multiplying the sample size by 4 halves the width. A higher confidence level gives a wider interval.
So the sample needs at least 246. Always round up.
Confidence intervals for a proportion
For a large sample, with :
, so
The interval is .

