Lesson 9.4 · Statistics and Probability
Margin of error
A news report says " of voters support the measure, with a margin of error of plus or minus percentage points." The comes from a sample, and a different random sample would have given a slightly different number. The margin of error tells you how far the sample result is likely to be from the true population value.
Samples vary
Imagine a large population in which exactly of people like a new song. If you survey random people, you probably won't get exactly who like it. You might get , or , or . Survey another and you'll get another number. This natural wobble from sample to sample is called sampling variability.
If you took thousands of random samples of size and made a histogram of the sample proportions, it would look approximately normal, centered at the true proportion . Its standard deviation, called the standard error, is
By the 68–95–99.7 rule, about of samples give a proportion within standard errors of the truth, here between and . That " standard errors" is exactly what a margin of error measures.
Notice that is in the denominator under a square root. Bigger samples vary less, but you need to quadruple the sample size to cut the variability in half.
The margin of error for a proportion
In practice you don't know the true proportion (that's what you're trying to estimate), so you use the sample proportion ("p-hat") in its place.
Margin of error for a sample proportion (95% confidence)
For a simple random sample of size with sample proportion :
The interval from to is a 95% confidence interval: it is likely to contain the true population proportion.
A quick estimate that is often used for polls is
The quick formula comes from the first one: the value is largest when , and then . So is the largest the margin of error can be, a safe upper estimate. (Many statisticians use instead of ; the difference is tiny.)
Worked example: The quick estimate
A poll of randomly selected adults finds that approve of a new law. Use to find the margin of error and the interval that likely contains the true approval rate.
Solution.
The interval is to . Since the whole interval is above , the poll gives good evidence that a majority approve.
Worked example: Using the full formula
In a random sample of students, say they have a part-time job. Find the sample proportion, the margin of error to the nearest tenth of a percent, and the confidence interval.
Solution. . Then
The interval is about , or to . The quick formula would give , very close.
The margin of error for a mean
The same idea works when you estimate a population mean. If a random sample of size has mean and standard deviation , then
and the interval likely contains the population mean.
Worked example: Estimating a mean
A random sample of high school students slept an average of hours a night, with a standard deviation of hours. Find the margin of error and the interval.
Solution.
The population mean is likely between and hours.
Choosing a sample size
Pollsters often decide in advance how precise they want to be. Solve for :
For a margin of error of : people. For , you'd need , four times as many, to halve the margin again.
Common mistake
The margin of error measures only random sampling variability. It says nothing about bias. A voluntary response poll or a poll with a leading question can be far off no matter how small its stated margin of error is.
Tip
Before believing a close race is "decided," check whether the intervals overlap. If one candidate has with a margin of error, the interval to includes values below , so the poll can't tell whether that candidate truly has a majority.
Practice
A random sample of people is surveyed. Use to find the margin of error, as a percent.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A poll reports that of residents favor a new tax, with a margin of error of . What is the upper end of the interval that likely contains the true percent, as a percent?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
In a random sample of adults, say they exercise daily. Use to find the margin of error, as a percent rounded to the nearest tenth.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A random sample of light bulbs has a mean lifetime of hours with a standard deviation of hours. Use to find the margin of error, in hours.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A pollster wants a margin of error of . Using , how many people should be surveyed?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A survey of people has a certain margin of error. If the survey had used people instead, what would happen to the margin of error?
A random poll shows Candidate Lee with of the vote and a margin of error of . Which conclusion is best?
A magazine asks readers to vote online on whether they like its new design. Of votes, are "no," and the magazine reports a margin of error of . What is wrong with this report?