Margin of error and sample size (SACE Stage 2 Mathematical Methods)
“The margin of error sets the precision of an estimate; rearranging it determines the sample size needed for a target margin.”
The margin of error is , the half-width of a confidence interval. To achieve a required margin , rearrange to and round up to the next whole number. Smaller or higher confidence both demand a larger sample.
Jump to a section
What this dot point is asking
The margin of error is how far the confidence interval extends each side of the sample mean - it measures the precision of the estimate. A small margin means a precise estimate; a large margin means a vague one.
What the margin of error depends on
Three levers control it:
- Confidence level (): higher confidence ⇒ larger ⇒ larger .
- Population spread (): more variable data ⇒ larger .
- Sample size (): bigger sample ⇒ smaller (via ).
Only is usually under your control, so questions ask: how big must be to get a margin no larger than some target?
Finding the required sample size
Rearrange to make the subject:
Always round the result up to the next whole number, so the margin is at most .
A sample size must be a whole number, and rounding down would make the margin slightly larger than required. So even rounds up to - round up regardless of the decimal.
A researcher wants to estimate a population mean to within units with confidence, where . This example finds the minimum sample size needed.
Step 1: identify the values and the sample-size formula
The sample-size formula comes from rearranging the margin-of-error equation. The inputs are: the required margin , the critical value for confidence, and the population standard deviation :
Step 2: substitute the values and calculate
Placing the numbers into the formula and evaluating step by step:
Step 3: round up to the nearest whole number
A sample size must be a whole number, and rounding down would leave the margin slightly larger than units. Always round up to guarantee the required precision:
Final answer: a sample of at least observations guarantees a margin of error within units.
Using the same population (, confidence), this example finds how many observations are needed when the margin is halved to .
Step 1: note the new target margin
The required precision is now , half the previous value of . All other inputs remain the same: and .
Step 2: compute the required sample size
Substituting into the sample-size formula:
Rounding up gives .
Step 3: compare with the previous result and explain the quadrupling
Halving the margin from to increased the sample size from to , roughly four times as many observations. This happens because depends on : cutting by a factor of multiplies by , so the required sample size quadruples. Precision is expensive.
Final answer: observations are needed for a margin of error of units.
Margin of error for a proportion
The same logic applies when estimating a population proportion rather than a mean. The margin of error becomes , where is the sample proportion. Rearranging for gives . The structure is identical: the required sample size depends on the square of , so halving the margin again quadruples the sample. When no estimate of is available, using maximises and therefore gives the safest (largest) sample size, a worst-case planning value examiners often expect.
Reading the precision requirement
Exam questions express the precision target in different words: "to within units" means ; "an interval of width " means , so ; and "accurate to one decimal place" usually means . Translating the wording into a value of before substituting is the step most often fumbled. Always write down explicitly, halving the width when the question gives a full interval width rather than a one-sided margin.
Common errors
Two slips dominate. First, rounding the sample size to the nearest whole number or down - you must always round up, or the margin exceeds the target. Second, forgetting the square: , not . The square is why precision is expensive.
Before finalising, check the relationship makes sense: a smaller target margin or higher confidence should give a larger . If you tightened the requirement but got a smaller sample size, you have likely mis-rearranged the formula or dropped the square.
Why it matters
Sample-size planning is the practical pay-off of Topic 6 - it answers the real-world question "how much data do I need?" and is a reliable exam item. It also reinforces the inverse-square relationship between precision and sample size, a key insight for designing the data collection in your Mathematical Investigation.
Exam-style questions
Questions in the style of SACE Board exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.
SACE 2022-style3 marksCalculator-free. Given an estimate , show that the sample size required for a confidence interval of width for a population proportion is .Show worked answer →
A interval for a proportion is where .
The full width is twice the margin: .
Divide by : .
Square: .
Rearrange: , as required.
Marks: one for width , one for substituting , one for the algebra isolating .
SACE 2022-style2 marksCalculator-assumed. A farmer planted 100 seeds and observed 53 viable, giving . Using , calculate the smallest number of seeds needed for a confidence interval of width .Show worked answer →
Substitute and .
Bracket: , and .
Then .
Round up to guarantee the interval is no wider than required: seeds.
Marks: one for , one for rounding up to . Rounding down would give an interval wider than .
SACE 2021-style3 marksCalculator-assumed. A population has standard deviation . Find the smallest sample size needed to estimate the mean to within a margin of error with confidence.Show worked answer →
Use with , , :
Round up: .
Marks: one for the formula with , one for the value , one for rounding up to .