The sample proportion p-hat as a random variable: mean p, variance pq/n, and its normal approximation
“Use the sample proportion as a random variable, with mean , variance and standard deviation , and apply its normal approximation ”
The sample proportion is a random variable with mean , variance and standard deviation . For large (with and ) it is approximately normal, , so probabilities about how close a survey's estimate is to the true value come from standardising ; because the spread shrinks like , quadrupling the sample halves the margin of error.
Jump to a section
What this dot point is asking
NESA wants you to treat the sample proportion as a random variable in its own right, know its mean , its variance and its standard deviation , and use the normal approximation to compute probabilities about how close a survey's estimate is likely to be to the true value. This is the one slice of the statistics chapter that is uniquely Extension 1, and it is where binomial theory turns into real polling and quality-control reasoning.
The answer
What a sample proportion is
Run a binomial experiment: independent Bernoulli trials, each a success with probability . Let count the successes. The population proportion is a fixed (usually unknown) number, for example the true fraction of Australians who support a policy. The sample proportion
is the fraction of your sample that were successes. If you poll voters and say they support a party, your sample proportion is , an estimate of the true .
The crucial idea is that is itself a random variable. Run the survey again with a fresh random sample and you get a different , hence a different . So has its own distribution, mean and spread, and those are exactly what tell us how trustworthy a single survey is.
For with , the sample proportion is a random variable with
The possible values of are , and . For large , is approximately normal: .
Why the mean is and the variance is
These are not new results to memorise blindly; they fall straight out of the binomial mean and variance you already know, and , using the scaling rules and with the constant :
The mean result, , is the whole reason surveys work: on average the sample proportion equals the population proportion, so is an unbiased estimator of . The variance result is the whole reason large samples are better: the spread carries a , so it shrinks as grows. Note the dimension check too, is a proportion (a number between and ), so its SD is also a small fraction, never the large count-sized spread that has.
The distribution of is the binomial, restretched
Because , each value of corresponds to exactly one value of and carries the same probability:
So the probability graph of is just the probability graph of with the horizontal axis relabelled (squashed from the integers onto the fractions ). Nothing about the probabilities changes, only the scale of the axis. That is why every binomial tool you have still applies: to find a probability about exactly, convert it into the matching statement about and sum binomial terms; to find it quickly for large , use the normal approximation below.
The normal approximation
For large the binomial is well approximated by a normal distribution (the central limit theorem). Dividing through by carries that approximation over to : it becomes approximately normal with the same mean and variance we just derived,
The validity conditions are the same , rule used for approximating itself, because and have identical probabilities. The picture below is the sampling distribution of for a national poll with true support and : a bell curve centred exactly on the true value , with standard deviation . The shaded band is the central standard deviations, the "expected range" almost every poll will fall inside.
The effect of sample size
The mean of is always , no matter the sample size, so a bigger sample does not move the centre, it sharpens it. Since
the spread is inversely proportional to . To halve the standard deviation you must quadruple the sample. The overlay below fixes and stacks the sampling distributions for , and : each fourfold jump in halves the standard deviation (from to to ) and the curve becomes correspondingly taller and tighter around .
This is the link to confidence-style "expected range" reasoning. Because is roughly normal, about of the time a single survey's lands within standard deviations of (more precisely SD). Read backwards, that interval is the "margin of error": if a poll of reports , you can say the true value is very likely within , i.e. roughly . The smaller you want that margin, the larger has to be, and because of the , shrinking the margin by half costs four times the sample.
Exact versus approximate
For small , do not reach for the normal curve, the values of are too few and chunky. Instead convert the question about into the matching question about and sum binomial terms exactly. For large (both and ), the normal approximation replaces a long sum with one or two -lookups. A continuity correction of (the half-step between adjacent values is ) can be applied, but for the large samples typical of polling it is negligible and is usually dropped, which is the convention this page follows.
How exam questions ask about sample proportions
The wording is the tell. Map the phrase to the move:
- "Write down / find the sample proportion": just compute from the given count. A mark opener.
- "State the mean and standard deviation of ": quote and (note the square root, and that the SD is a small fraction, not ).
- "Show that / ": derive from , using and the scaling rules , .
- "Use the normal approximation to find " or "estimate the probability the sample proportion is between ...": confirm and , write , standardise with , look up.
- "within of the true value": this is , a symmetric interval ; standardise both ends and use .
- "What sample size is needed so the estimate is within ... with probability ...": set and solve for , using the worst case if is unknown.
Lead with the model in one line: " with , ", then state as a decimal before you standardise, markers look for the SD written out. Standardise with (divide by the standard deviation, never the variance) and keep to two decimals to match the table. Convert tails with and a symmetric "within" interval with . Always check and first and say so, it is an easy mark, and if the conditions fail, state that the approximation is invalid and use the exact binomial instead. For a "minimum sample size" part, take (so is largest) when is unknown, and round up.
State the distribution of the sample proportion for a coin tossed six times
A fair coin is tossed times. Let be the number of heads and the sample proportion of heads. Find the possible values of , its mean, variance and standard deviation, and compare the spread of with the spread of .
- Values
- takes , so takes the values . Each carries the same probability as the matching , for instance .
- Mean
- With , .
- Variance
- With and ,
- Standard deviation
- .
- Compare with
- For , . Dividing by gives , matching exactly, confirming .
Estimate a polling probability with the normal approximation
A poll of voters estimates support for a referendum whose true level is . Use the normal approximation to find the probability that the poll's sample proportion lies between and (that is, within of the true value). Use .
Check the conditions. and , so the approximation is valid.
Parameters. With ,
So .
- Standardise the symmetric interval
- Both endpoints are from the mean:
- Read the probability
- Final answer
- about . A poll of has roughly a chance of landing within percentage points of the truth, which is the basis of the familiar " margin of error".
Estimate a quality-control probability
A bottling line's true defective rate is . An inspector samples bottles. Using the normal approximation, estimate the probability that the sample defective proportion exceeds . Use .
- Check the conditions
- and , valid.
- Parameters
- With ,
- Standardise
- Read the probability
- Final answer
- about . There is roughly a chance an in-spec line shows a sample defective rate above just from sampling variation, so a single high sample is not on its own proof the line has drifted.
Derive the mean and variance of the sample proportion
Starting only from with and , show that and .
- Set up
- By definition , a constant times the random variable .
- Mean (using )
- Variance (using )
- Conclusion
- is unbiased () and its variance as , so the estimate concentrates on for large samples.
Find the sample size for a target margin of error
A pollster wants a chance that the sample proportion is within of the true value . Find the smallest sample size, taking the worst case and using .
- Translate the requirement
- "Within with probability " means , where .
- Worst case
- is largest at (), which gives the largest required and is safe for any true :
- Solve
- Squaring,
- Final answer
- . This is exactly why national polls quoting a margin sample around to people.
- Using instead of
- That is the SD of the count , not of the proportion . The proportion's SD is the small fraction . Mixing them is the single most common error.
- Dividing by the variance, not the standard deviation
- Standardise with . The denominator is the SD, not .
- Forgetting the validity check
- Always confirm and before approximating. If they fail (small or extreme ), the normal curve is a poor fit, use the exact binomial.
- Thinking a bigger sample shifts the centre
- It does not. for every . A larger sample only shrinks the spread (by ), it does not change what is centred on.
- Linear thinking about sample size
- Halving the margin of error needs four times the sample, not twice, because the SD carries , not .
Practice questions
Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.
foundation3 marksA market-research firm surveys randomly chosen Sydney commuters and finds that used a train at least once last week. Write down the sample proportion . If the true population proportion is , state the mean, variance and standard deviation of for a sample of this size.Show worked solution →
- Sample proportion
- With successes out of ,
- Mean
- .
- Variance
- With ,
- Standard deviation
- .
So this one survey produced an estimate of , and the estimator is centred on the true value with a spread of about .
foundation3 marksA fair coin is tossed times and is the proportion of heads. List the possible values of , then find its mean and standard deviation.Show worked solution →
- Possible values
- can be , so takes the values
- Mean
- .
- Standard deviation
- With and ,
Note how few values has and how large the spread is: with only trials a single survey tells you very little about .
core4 marksA streaming service estimates that a new show has a true national audience share of . A ratings panel of households is sampled. Using the normal approximation to , estimate the probability that the panel's sample proportion lies between and . Use and .Show worked solution →
Set up the model. Here , , . Check the conditions: and , so the normal approximation is valid.
Parameters of the approximating normal.
So .
Standardise both endpoints.
Read the probability.
That uses , so
Answer. About , so roughly an chance the panel's share lands in .
core4 marksA bottling plant claims its true defective rate is . A quality inspector samples bottles. Find the standard deviation of the sample proportion , then use the normal approximation to estimate the probability that the inspector observes a sample defective rate greater than . Use .Show worked solution →
- Conditions
- and , so the approximation is valid.
- Standard deviation
- With ,
- Standardise
- For ,
Read the probability.
Answer. About . So even though the claimed rate is only , there is roughly a chance a clean batch shows a sample rate above purely by sampling variation, worth remembering before raising an alarm.
exam5 marksA polling company wants to estimate the proportion of voters supporting a referendum. It requires a chance that its sample proportion falls within of the true value . Taking the worst case , and using for the central of a normal distribution, find the smallest sample size the company should use.Show worked solution →
- Translate the requirement
- "Within of with probability " means the half-width of the central interval of must be at most :
- Substitute the worst case
- The product is largest at , where . Using gives the most demanding (largest) , which is safe for any true :
- Solve for
- Square both sides:
- Answer
- The company needs voters (round up to guarantee the bound). This is the textbook "margin of error " sample size for a national poll, and it explains why such polls quote samples of roughly to people.
exam5 marksTwo opinion polls estimate the same true support level . Poll A samples voters; Poll B samples . (a) Compare the standard deviations of for the two polls. (b) Using the normal approximation, estimate for each poll the probability that falls within of . Use and .Show worked solution →
(a) Standard deviations. With , so .
Because and the SD has in the denominator, quadrupling the sample halves the standard deviation: .
(b) Probability within for Poll A.
Probability within for Poll B.
Answer. Poll A has about a chance of landing within of the truth; Poll B about . Halving the standard deviation sharply tightens the estimate, which is why larger samples are worth the cost.