Lesson 6: Margin of error, confidence and sample size

Choose a sample size for a required margin of error

SkillChoosing a sample size

Worked example

  • Complex familiar
  • Technology active

A researcher wants to estimate the proportion of Queensland adults who have had skin cancer removed, to within 0.03 with 95% confidence.

(a) A pilot study suggests the proportion is about 0.2. Find the minimum sample size.

(b) Find the minimum sample size if there is no pilot estimate.

1 of 4 steps
  1. Step 1: Set up the inequality

    1.96p^(1−p^)n≤0.03  ⟺  n≥(1.960.03)2p^(1−p^)1.96\sqrt{\dfrac{\hat{p}(1-\hat{p})}{n}} \le 0.03 \iff n \ge \left(\dfrac{1.96}{0.03}\right)^2\hat{p}(1-\hat{p})

Try a similar one

A fresh question of the same kind, checked as you answer, with hints and a full solution.

Method

  1. n≥(zE)2p^(1−p^)n \ge \left(\frac{z}{E}\right)^2\hat{p}(1-\hat{p}).

  2. Use a pilot p^\hat{p} if there is one; otherwise p^=0.5\hat{p} = 0.5.

  3. Round up.

Watch out for

  • Rounding 682.95 to 682, or 1067.11 to 1067.

  • Using the width (0.06) instead of the margin (0.03).

Save your progress with a free account