Lesson 5 of 7 · 16 min
The mean and standard deviation of p̂
Use and , derive them from the binomial distribution, and work out how sample size and p control the spread.
What you will be able to do
- State and use and .
- Derive both results from the mean and variance of the binomial distribution.
- Explain and use the effect of and on the spread of , including finding the sample size for a required standard deviation.
In the simulator, the values of clustered around , and bigger samples gave tighter clusters. Here are the exact formulas behind both observations. They tell a pollster, before a single phone call, how far a poll of 1000 people is likely to land from the truth.
Key idea
Mean and standard deviation of the sample proportion
For random samples of size from a population with proportion ,
The variance is .
Why these formulas are true
with , so and . Using and with :
and the standard deviation is the square root of the variance.
The first result says is unbiased: on average over all possible samples it equals the true . Any one sample can still miss.
Random samples of 100 are taken from a population in which . Calculate the standard deviation of .
Worked example
Mean and standard deviation of a poll's p̂
Suppose 36 % of voters in a federal electorate intend to vote for a particular party. A pollster surveys a random sample of 576 voters.
(a) Find the mean and standard deviation of the sample proportion .
(b) The pollster quadruples the sample size. Find the new standard deviation.
Step 1: Write down the mean
Step 2: Substitute into the standard deviation formula
Step 3: Take the square root
So a typical poll of 576 lands within about 0.02 (2 percentage points) of 0.36.
Step 4: Quadruple the sample
With : .
Multiplying by 4 divides the standard deviation by .
Try it yourself first, then check the working one step at a time.
Answer
and . With 2304 voters the standard deviation halves to 0.01.
Method
.
: multiply by , divide by , then take the square root.
Watch out for
Stopping at the variance, 0.0004.
Thinking that quadrupling divides the standard deviation by 4.
Here plays the role of , and the faint curve is . For a fixed , which value of gives the largest standard deviation? Move to 400: what happens to the height of the curve?
Key idea
What controls the spread
- Sample size. is proportional to . Multiplying by 4 halves the standard deviation; multiplying by 100 divides it by 10.
- The proportion. is largest when , where it equals . Proportions near 0 or 1 vary less. So for any , .
A survey company increases its sample size from 400 to 1600. What happens to the standard deviation of ?
Worked example
Choose a sample size for a required precision
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
Try it yourself first, then check the working one step at a time.
Answer
(a) 336 students. (b) 400 students, using the worst case .
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.
Common mistake
Three ways to lose the mark
- Giving the variance when the question asks for the standard deviation.
- Using , which is the standard deviation of the count , not the proportion.
- Rounding the standard deviation early, then using the rounded value in later working. Keep it in your calculator.
When , what sample size gives ?
Summary
: on average, the sample proportion equals the population proportion.
and .
Both follow from and .
Quadruple the sample size to halve the standard deviation.
For a given , the spread is greatest when .
Finished the lesson?
Try the 3 quick checks above and the lesson completes itself, or mark it complete now.