11.7 Sampling variability and the margin of error — Learn
Prerequisites: Section 11.2 — bias; Section 11.5 — the standard deviation; Section 11.6 — the normal distribution.
Objectives: explain why two samples give different statistics; work out the standard error and the margin of error for a proportion; interpret a confidence interval; find the sample size needed for a given margin of error.
By the end of this section you can say how far a sample result can be from the truth, and you can say what that statement does and does not promise.
Sampling variability
Take two different simple random samples from the same population and you get two different sample proportions. This is sampling variability, and it is not a mistake in either sample. It is the price of measuring only a part of the population.
A sample of voters does not give exactly the population proportion . It gives a sample proportion that is close to , and how close depends on the sample size. The collection of all the values could take, with their probabilities, is the sampling distribution of the proportion.
Predict first. The figure shows a population and draws a random sample from it. Before you touch a control, predict what happens to the sample mean when you make the sample larger. Write down whether the sample means will spread out more or less, and why.
Test. Set the sample size to its smallest value and take several samples. Watch where each sample mean lands. Now set the sample size to its largest value and take several more samples.
Explain. Write two sentences. The first explains why two samples of the same size give different means. The second explains why a larger sample usually gives a mean closer to the population mean.
The standard error
The sampling distribution of the proportion has a mean of and a standard deviation called the standard error:
The standard error of the proportion.
where is the standard error of the sample proportion and is the sample size. This is the formula in the formulae and tables booklet.
The standard error measures how much varies from sample to sample. It gets smaller as grows, because dividing by a larger makes the fraction smaller. To halve the standard error, you must quadruple the sample size.
The margin of error
A confidence interval for is
The number after the is the margin of error. Because is never more than , the largest possible margin of error is about . The course uses this maximum as the margin of error for a proportion:
The margin of error for a proportion.
This is the maximum radius of the confidence interval.
Example 1. A poll asks voters. Find the margin of error.
So the poll's estimate is within about percentage points of the truth, at confidence.
Example 2. Find the sample size needed for a margin of error of .
Set and solve for :
A sample of is needed. The sample size grows quickly as the margin of error shrinks: to halve the margin of error, the sample must be four times as large.
What the confidence level means
A confidence interval is built by a method that captures the true in of samples. It does not say that there is a chance that this particular interval contains . The value is fixed; the interval is what varies from sample to sample.
A higher confidence level needs a wider interval. A interval uses in place of , so the interval is wider and the statement is safer but less precise.
Progress check
Back to the chapter problem. The poll used voters and reported Yes.
Work out the margin of error, then the confidence interval for the proportion of Yes voters.
So the method gives an interval from to . On the day, voted Yes, which is just outside the interval. An interval misses about of the time, and this was one of those times.
The interval is wide: it runs from a clear No to a clear Yes. A lead of four points is smaller than the margin of error, so the poll could not tell the two sides apart. That is what "too close to call" means, and it is the answer to the newspaper's headline.
You should now be able to
- explain why two samples give different statistics;
- find the standard error of a proportion;
- find the margin of error for a proportion;
- build and interpret a confidence interval;
- find the sample size needed for a given margin of error;
- explain why a margin of error does not cover bias.