Lesson 5: The mean and standard deviation of p̂
Choose a sample size for a required precision
SkillsSample size and spreadMean and standard deviation of p̂
Worked example
A researcher plans a survey to estimate the proportion of Year 12 students who use a study app daily, and wants the standard deviation of to be at most 0.025.
(a) A previous study suggests . Find the smallest sample size that will do.
(b) Find the smallest sample size that will do whatever the value of .
Step 1: Write the requirement as an inequality
Step 2: Square both sides
Both sides are positive, so squaring keeps the inequality the same way round.
Step 3: Solve for n
Step 4: Find the worst case for p
is largest at , where it is . A sample that works for works for every .
, so it is never more than 0.25.
Step 5: Solve again with p = 0.5
Answer
(a) 336 students. (b) 400 students, using the worst case .
Try a similar one
A fresh question of the same kind, checked as you answer, with hints and a full solution.
Method
Set the required standard deviation.
Square both sides and solve for .
Round up to the next whole number if the answer isn't a whole number.
If is unknown, use , the worst case.
Watch out for
Forgetting to square 0.025.
Rounding a non-integer answer down, which gives a standard deviation slightly too big.