Margin of Error
You’ve probably seen a news story that ends with a line like “accurate within percentage points, 19 times out of 20.” That line is the margin of error, and it’s an honest admission that a poll of a sample can’t give the exact answer for a whole population. Understanding it helps you tell the difference between a real result and one that’s too close to call.
Key ideas
Section titled “Key ideas”Statistics estimate parameters
Section titled “Statistics estimate parameters”A parameter is a number that describes a whole population, like the true percentage of all voters in a town who support a new arena. We usually can’t ask everyone, so we take a sample and calculate a statistic, like the percentage of the sample who support it. (See sampling methods.)
Different random samples give slightly different statistics, just by chance. This is called sampling variability. The margin of error measures how big that chance variation is likely to be.
Margin of error and confidence interval
Section titled “Margin of error and confidence interval”A poll result is reported as
The range from (statistic margin) to (statistic margin) is called a confidence interval. For example, ”, accurate within percentage points” gives the interval to .
Confidence level
Section titled “Confidence level”The confidence level says how reliable the method is. ” times out of ” means
What it means: if the poll were repeated many times with new random samples of the same size, about of the intervals made this way would contain the true population value.
What it doesn’t mean:
- It doesn’t mean of people agreed, or that of the population was surveyed.
- It doesn’t guarantee the true value is in the interval. About poll in will miss.
- It doesn’t cover bias. The margin of error only accounts for random sampling variability. A biased sample (for example, an online poll where anyone can vote) can be far off no matter how small its margin of error looks. (See bias in sampling.)
The three-way relationship
Section titled “The three-way relationship”Sample size, margin of error, and confidence level are linked:
- Bigger sample → smaller margin of error. More data gives a more precise estimate. But to cut the margin of error in half, you need about four times the sample size.
- Higher confidence → wider margin of error. To be more sure your interval catches the true value, you have to make the interval wider.
A formula for investigating (proportions at 95% confidence)
Section titled “A formula for investigating (proportions at 95% confidence)”For a sample proportion (written as a decimal) from a random sample of size , the margin of error at confidence is approximately
This formula is a tool for exploring the relationships above. It assumes a simple random sample and a fairly large .
The comes from the normal distribution: the middle of a standard normal curve lies between and . For other confidence levels, replace with a different z-score:
| Confidence level | |
|---|---|
Quick estimate. The product is largest when , and then . So at confidence, a quick (slightly generous) estimate is
For example, a poll of people has a margin of error of at most about , or about percentage points.
Worked examples
Section titled “Worked examples”Example 1: Reading a poll
Section titled “Example 1: Reading a poll”A random sample of residents of a town found that support building a new skatepark. The result is “accurate within percentage points, times out of .”
- (a) What is the confidence interval, and what is the confidence level?
- (b) Can the town council be fairly confident that a majority of residents support the skatepark?
Solution. (a) The interval is to . ” times out of ” is a confidence level.
(b) Yes. The whole interval is above , so the council can be confident that a majority of all residents (not just the surveyed) support the skatepark.
Example 2: Calculating a margin of error
Section titled “Example 2: Calculating a margin of error”In a random sample of students at a large high school, said they’d prefer a later start time. Find the margin of error at confidence, and compare it with the quick estimate.
Solution. Use and :
The margin of error is about percentage points, so the interval is about to .
The quick estimate gives , or points. That’s close, and a little larger, as expected.
Example 3: How sample size matters
Section titled “Example 3: How sample size matters”Using and confidence, find the margin of error for samples of size , , , and . What pattern do you see?
Solution. With , :
| , or points | |
| , or points | |
| , or about points | |
| , or about points |
Each time the sample size is multiplied by , the margin of error is cut in half. That’s because is under a square root: . Bigger samples are more precise, but each improvement costs four times as many people. This is why most national polls stop at around to people.
Example 4: How confidence level matters
Section titled “Example 4: How confidence level matters”A random sample of people found that have a library card. Find the margin of error at , , and confidence.
Solution. First, . Multiply by each :
| Confidence | Interval | |
|---|---|---|
| to | ||
| to | ||
| to |
Same data, different intervals: the more confident you want to be, the wider the interval has to be. It’s a trade-off between being sure and being precise.
Common mistakes
Section titled “Common mistakes”Thinking “95% confidence” means 95% of people agree. The confidence level describes the polling method, not the opinions. It says how often intervals made this way catch the true value.
Treating the interval as a guarantee. About in polls at confidence will miss the true value, through no fault of the pollster.
Ignoring the margin of error when comparing results. If two options’ intervals overlap, the poll can’t tell you who is really ahead. Roughly, a lead needs to be more than twice the margin of error before it’s clear. Otherwise, call it “too close to call”.
Thinking a big sample fixes bias. A huge, self-selected online poll can have a tiny margin of error on paper and still be badly wrong. The margin of error only applies to properly random samples.
Doubling the sample to halve the margin. Because of the square root, you need four times the sample to halve the margin of error.
Mixing up percent and percentage points. If support goes from to , that’s an increase of percentage points, but a increase. Margins of error for percentages are given in percentage points.
Practice
Section titled “Practice”1. (Warm-up) A school survey finds that of students eat breakfast every day, accurate within percentage points, times out of . Write the confidence interval.
Solution
to , at confidence.
2. (Warm-up) What confidence level does each phrase describe?
- (a) ” times out of ”
- (b) ” times out of ”
- (c) ” times out of “
Solution
(a) . (b) . (c) .
3. (Warm-up) A poll of students finds that want a longer lunch break, accurate within percentage points, times out of . Is each statement true or false?
- (a) We can be confident that between and of all students want a longer lunch.
- (b) Exactly of all students want a longer lunch.
- (c) of the students in the school were surveyed.
- (d) The true percentage is definitely between and .
Solution
(a) True. (b) False: is the sample’s result, an estimate of the true value. (c) False: the is the confidence level, not the share surveyed. (d) False: the method catches the true value about times out of , so there’s a small chance it’s outside the interval.
4. (Core) In a random sample of people, said they recycle every week. Find the margin of error at confidence, and write the confidence interval.
Solution
The margin of error is about percentage points, so the interval is about to .
5. (Core) Use the quick estimate .
- (a) What is the margin of error for a poll of people?
- (b) About how many people would you need for a margin of error of percentage points?
Solution
(a) , or percentage points.
(b) Solve : , so people.
6. (Core) A poll of randomly chosen voters in a small town shows the mayoral candidates at (Candidate A) and (Candidate B), accurate within percentage points, times out of . A headline says “A leads B.” Is that fair?
Solution
A’s interval is to and B’s is to . The intervals overlap (from to ), so it’s quite possible that B actually has as much support as A, or more. The poll doesn’t give strong evidence that A is ahead. A fairer headline would be “Race too close to call.”
7. (Core) Two schools ran the same survey question. At School P, randomly chosen students were asked; at School Q, were asked. Both found that said yes. Find each margin of error at confidence and explain the difference.
Solution
School P: , or about points.
School Q: , or about points.
School Q’s sample is four times as big, so its margin of error is half as big. Its estimate is more precise.
8. (Challenge) A school council wants to estimate the percentage of students who support a new dress code to within percentage points at confidence. Using (the “safest” choice, because it gives the largest margin), how many students should they survey? If they only want points, how many?
Solution
Solve :
They need students. For points (twice the margin), they need a quarter as many: , so , and they should survey students. (A school would need more than students for the first plan to even be possible!)
9. (Challenge) A website invites readers to vote online on whether a city should ban cars downtown. Of votes, say yes. The website reports a margin of error of percentage points. Where does the come from, and why is the result still not trustworthy?
Solution
The quick estimate gives , or percentage points.
But the margin of error only applies to a random sample. Here, people chose to vote themselves (a voluntary response sample). People with strong opinions, and readers of that particular website, are much more likely to vote, and some people may vote more than once. The sample is biased, so the true percentage of all city residents could be very different from , no matter how many votes there were.