Skip to main content
ExamExplained
WA · Math Methods
Math Methods study scene
§-Syllabus dot point
WAMath MethodsSyllabus dot point

What controls the width of a confidence interval, and how large must a sample be to achieve a required precision?

Relate the margin of error to confidence level and sample size, and determine the sample size needed for a required margin of error

WACE Year 12 Mathematics Methods Unit 4 margin of error and sample size: the margin of error formula, how confidence level and sample size affect width, and solving for the sample size needed for a required precision, with worked examples.

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. The margin of error
  3. The square-root relationship
  4. Why p^=0.5\hat{p}=0.5 is the worst case
  5. Determining the sample size

What this dot point is asking

SCSA Unit 4 develops the margin of error as the half-width of a confidence interval for a proportion. This dot point asks you to relate it to the confidence level and sample size, and to find the sample size required for a given precision. It is examined in both sections, with sample-size calculations common in the calculator-assumed section.

The margin of error

A confidence interval for a proportion has the form p^±E\hat{p}\pm E, where EE is the margin of error.

Two levers control EE: the confidence level through zz, and the sample size through nn. A higher confidence level needs a larger zz and so a wider interval. A larger sample shrinks the standard error and so narrows the interval.

The square-root relationship

Because EE depends on 1n\dfrac{1}{\sqrt{n}}, precision improves slowly with sample size. To halve the margin of error you must roughly quadruple nn, since 4=2\sqrt{4}=2. This is why large gains in precision become expensive.

Why p^=0.5\hat{p}=0.5 is the worst case

The product p^(1−p^)\hat{p}(1-\hat{p}) inside the formula is a downward parabola in p^\hat{p}, largest at p^=0.5\hat{p}=0.5 where it equals 0.250.25. Because a larger p^(1−p^)\hat{p}(1-\hat{p}) means a larger margin of error for the same nn, and a larger required nn for the same target margin, using p^=0.5\hat{p}=0.5 when no estimate is available guarantees the sample is big enough whatever the true proportion turns out to be. If a reliable prior estimate of p^\hat{p} exists, using it gives a smaller, cheaper sample, but the conservative 0.50.5 is never too small.

Determining the sample size

Rearranging the margin-of-error formula for nn lets you find the sample size needed for a target margin EE.

Exam-style practice questions

Practice questions written in the style of SCSA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

WACE 20216 marksCalculator-assumed. A market researcher wants a 95%95\% confidence interval for a proportion with a margin of error no greater than 0.040.04. (a) Using p^=0.5\hat{p}=0.5, find the minimum sample size. (b) If a pilot study suggests p^≈0.2\hat{p}\approx 0.2, find the minimum sample size and comment.
Show worked answer →

A sample-size determination with two scenarios.

(a) n=z2p^(1−p^)E2=1.962(0.5)(0.5)0.042=3.8416×0.250.0016=600.25n=\dfrac{z^{2}\hat{p}(1-\hat{p})}{E^{2}}=\dfrac{1.96^{2}(0.5)(0.5)}{0.04^{2}}=\dfrac{3.8416\times 0.25}{0.0016}=600.25, round up to 601601.

(b) With p^=0.2\hat{p}=0.2: n=3.8416×0.160.0016=384.16n=\dfrac{3.8416\times 0.16}{0.0016}=384.16, round up to 385385. Because p^(1−p^)\hat{p}(1-\hat{p}) is smaller away from 0.50.5, fewer respondents are needed; using 0.50.5 gives the safe worst-case size.

Markers reward the rearranged formula, rounding up, and the comment that 0.50.5 is the conservative choice.

WACE 20234 marksCalculator-free. A 95%95\% confidence interval for a proportion has margin of error 0.050.05 from a sample of size 400400 with p^=0.5\hat{p}=0.5. (a) Explain how the margin of error would change if the sample size were increased to 16001600. (b) State the new margin of error.
Show worked answer →

A square-root-law reasoning question.

(a) The margin of error is proportional to 1n\dfrac{1}{\sqrt{n}}. Increasing nn from 400400 to 16001600 multiplies nn by 44, so n\sqrt{n} doubles and the margin of error is halved.

(b) Half of 0.050.05 is 0.0250.025.

Markers reward the 1n\dfrac{1}{\sqrt{n}} relationship and the halved value 0.0250.025.

ExamExplained