Lesson 4 of 7 · 15 min
Margin of error and reading an interval
Calculate the margin of error, read p̂ and the margin straight from a given interval, and work backwards to the sample size or confidence level behind it.
What you will be able to do
- Calculate the approximate margin of error .
- Find and from the endpoints of an interval.
- Work backwards from an interval to the sample size or the confidence level.
When a news report says a poll has "a margin of error of 3 percentage points", it is describing half the width of a 95% confidence interval. The margin of error is the "±" part, and it is the single number that tells you how precise an estimate is.
Definition
Margin of error
The confidence interval is , so it has width and is centred on .
The anatomy of a confidence interval: centre , half-width on each side, total width .
Key idea
Reading an interval (a, b)
The centre is the sample proportion and half the width is the margin of error.
A confidence interval for is . Find the sample proportion and the margin of error .
Without a calculator: a random sample of 300 gives . Find the margin of error for a 95% confidence interval, using .
The margin of error links four quantities: , (the confidence level), and . Know any three and you can find the fourth. Two "backwards" questions come up often.
Worked example
Work back from an interval to the sample size
A survey of Australian university students reports a 95% confidence interval of for the proportion who work more than 15 hours a week. Find the sample proportion, the margin of error and the approximate number of students surveyed.
Step 1: Find the centre
Step 2: Find half the width
Step 3: Set up the margin of error equation
Step 4: Solve for n
, so .
Divide by 1.96, square both sides, then rearrange: .
Step 5: Round sensibly
The endpoints were rounded to 3 decimal places, so is only approximate. About 1200 students were surveyed (with , any from about 1170 to 1250 rounds to these endpoints).
Try it yourself first, then check the working one step at a time.
Answer
, , and about 1200 students were surveyed.
Method
= midpoint, = half the width.
.
Round to a sensible value: the endpoints were rounded.
Watch out for
Using the full width 0.056 as , which gives a quarter of the sample size.
Worked example
Find the confidence level of an interval
In a random sample of 600 Gold Coast residents, 210 said they surf at least once a month. A report gives the interval for the proportion of all Gold Coast residents who surf at least monthly, but forgets to say the confidence level. Determine the confidence level.
Step 1: Find p̂ and the margin of error
and .
Step 2: Calculate the standard error
Step 3: Solve for z
From .
Step 4: Convert z to a confidence level
Try it yourself first, then check the working one step at a time.
Answer
The interval is a 95% confidence interval ().
Method
= half the width; from the data.
.
, from normal cdf.
Watch out for
Finding and reporting 97.5%: the confidence level is the central area.
Common mistake
Endpoints are rounded, so backwards answers are approximate
Interval endpoints are usually rounded to 3 decimal places, so read from them is slightly off, and so is any or you calculate. If you get , the sample was about 1200; if you get , the level was 95%. Round to a sensible value and say so.
From the same sample, three intervals for are calculated at 90%, 95% and 99% confidence: , and . Which one is the 99% interval?
Summary
The margin of error is , half the width of the interval.
For an interval : and .
To find : solve , giving .
To find the level: , then .
Backwards answers inherit rounding error from the endpoints, so round them sensibly.
Finished the lesson?
Try the 3 quick checks above and the lesson completes itself, or mark it complete now.