Why sample proportions vary
Suppose 35% of the adults in a city cycle to work at least once a week. If you take a random sample of 120 adults, you will not get exactly 35% cyclists every time. One sample might give 31%, another 38%, another 40%. The sample proportion p̂ changes from sample to sample.
The distribution of p̂ over all possible random samples of the same size is the sampling distribution of p̂ (Topic 2.12). This topic gives you a formula for its centre and spread, and a condition that tells you when its shape is approximately normal. With these you can say how far p̂ is likely to be from p, which is the basis of every inference method in this unit.
Be clear about the three distributions involved:
| Distribution of… | What the values are | Example |
|---|---|---|
| the population | one response per adult in the city | cycles / does not cycle, with proportion p = 0.35 |
| a sample | one response per sampled adult | 120 responses, with sample proportion p̂ |
| the sampling distribution | one p̂ per possible sample | many values of p̂, centred at 0.35 |
Mean and standard deviation of p̂
Count the successes in the sample and call the count X. When the observations are independent, X is a binomial random variable with n trials and success probability p (Topic 2.10), so its mean is np and its standard deviation is √(np(1 − p)). The sample proportion is p̂ = X / n. Dividing by n divides both the mean and the standard deviation by n:
- Mean: μp̂ = np ÷ n = p
- Standard deviation: σp̂ = √(np(1 − p)) ÷ n = √(p(1 − p) / n)
Two consequences:
- The mean of p̂ equals p, so p̂ is an unbiased estimator of p. This confirms what you saw by listing samples and simulating in Topic 3.1.
- n is in the denominator under the square root. Larger samples give less variable values of p̂. Because of the square root, you must multiply n by 4 to halve σp̂.
The conditions and what each one is for
| Condition | Check | What it guarantees |
|---|---|---|
| Random | The data come from a random sample (or a randomised experiment). | Observations are independent of one another, and p̂ is unbiased. |
| 10% | When sampling without replacement, n ≤ 10% of the population size N (that is, N ≥ 10n). | Observations are close enough to independent for σp̂ = √(p(1 − p)/n) to be accurate. |
| Large counts | np ≥ 10 and n(1 − p) ≥ 10. | The sampling distribution of p̂ is approximately normal. |
np is the number of successes you would expect in a sample, and n(1 − p) is the number of failures you would expect. Both must be at least 10. The formulas for the mean and standard deviation do not need large counts; only the normal shape does.
Verify each condition in context with numbers. “Random: the 120 adults were a simple random sample of the city’s adults” is better than “SRS ✓”.
Picturing the sampling distribution
Worked example 1: mean, standard deviation and conditions
Question. The fictional city of Marrowby has 48,000 adults, and 35% of them cycle to work at least once a week. A transport officer will take a simple random sample of 120 adults. (a) Find the mean and standard deviation of the sampling distribution of p̂, the proportion of the sample who cycle. (b) Check the conditions. (c) Interpret the mean and the standard deviation in context.
(a)
- Mean: μp̂ = p = 0.35.
- Standard deviation: σp̂ = √(0.35 × 0.65 / 120) = √(0.2275 / 120) = √0.0018958… ≈ 0.0435.
(b)
- Random: the officer takes a simple random sample of Marrowby adults. ✓
- 10%: 120 ≤ 10% of 48,000 = 4,800. ✓ So the standard deviation formula is accurate.
- Large counts: np = 120 × 0.35 = 42 and n(1 − p) = 120 × 0.65 = 78. Both are at least 10. ✓ So the sampling distribution of p̂ is approximately normal.
(c)
- Mean: if the officer took many random samples of 120 Marrowby adults, the sample proportions who cycle would average 0.35, the true proportion for the whole city.
- Standard deviation: in random samples of 120 Marrowby adults, the sample proportion who cycle typically differs from the true proportion of 0.35 by about 0.0435 (about 4.4 percentage points).
Check. The interpretation names the statistic (sample proportion), the population (Marrowby adults), the sample size (120) and repeated sampling.
Worked example 2: probabilities with the normal model
Question. Use the sampling distribution in Worked example 1. (a) Find the probability that the sample proportion of cyclists is at least 0.42. (b) Find the probability that it is between 0.30 and 0.40. (c) The officer’s sample in fact contains 54 cyclists. Does this give reason to doubt that 35% of Marrowby adults cycle? Explain.
(a) The large-counts condition is met, so use a normal model with mean 0.35 and standard deviation 0.04354.
- z = (0.42 − 0.35) / 0.04354 ≈ 1.6077.
- P(p̂ ≥ 0.42) = P(z ≥ 1.6077) ≈ 0.0540.
Interpretation: if 35% of Marrowby adults cycle, about 5.4% of random samples of 120 adults would contain 42% or more cyclists.
(b) z for 0.30 is (0.30 − 0.35) / 0.04354 ≈ −1.1483 and z for 0.40 is about +1.1483. P(0.30 < p̂ < 0.40) ≈ 0.7492. About 75% of samples of 120 give a sample proportion within 0.05 of 0.35.
(c) p̂ = 54 ÷ 120 = 0.45. z = (0.45 − 0.35) / 0.04354 ≈ 2.2967, so P(p̂ ≥ 0.45) ≈ 0.0108. If p really were 0.35, a sample proportion as high as 0.45 would happen in only about 1 in 100 random samples of 120 adults. That is unusual, so the sample gives reason to doubt the 35% figure and suggests the true proportion may be higher. It does not prove the figure is wrong: unusual samples do sometimes happen.
Check. On a calculator: normalcdf(0.42, 1, 0.35, √(0.2275/120)) ≈ 0.0540. (Entering the rounded 0.04354 gives 0.0539; the difference is only rounding.) The exact binomial probability P(X ≥ 51) is about 0.053, so the normal model is a good approximation here.
Worked example 3: how sample size changes the spread
Question. For the Marrowby survey (p = 0.35): (a) What happens to σp̂ if the sample size is increased from 120 to 480? (b) What is the smallest sample size that makes σp̂ at most 0.02? Check the 10% condition for that sample size.
(a) σp̂ = √(0.35 × 0.65 / 480) ≈ 0.0218. This is exactly half of 0.0435. Multiplying n by 4 divides the standard deviation by √4 = 2. The centre stays at 0.35.
(b) Solve √(0.35 × 0.65 / n) ≤ 0.02.
- Square both sides: 0.2275 / n ≤ 0.0004.
- Rearrange: n ≥ 0.2275 / 0.0004 = 568.75.
- n must be a whole number, so round up: n = 569. (With n = 568, σp̂ ≈ 0.02001, just above 0.02.)
- 10%: 569 ≤ 4,800, so the formula is still valid.
When the large-counts condition fails
Suppose 4% of the parts from a fictional factory are faulty, and you take random samples of 100 parts. Then np = 100 × 0.04 = 4, which is less than 10. The sampling distribution of p̂ is skewed to the right: p̂ cannot be below 0, but it can be well above 0.04. A normal model with mean 0.04 and standard deviation 0.0196 gets this wrong. It gives a probability of about 0.021 to a negative sample proportion, which is impossible. It also says P(p̂ ≥ 0.08) ≈ 0.021, when the binomial distribution gives about 0.048. Do not use a normal model here. You could still find exact probabilities with the binomial distribution, or take a larger sample: n = 250 gives np = 10.
Common misconceptions
- Using p̂ when p is given. In this topic the population proportion is known or claimed. Use p in σp̂ and in the large-counts check.
- Checking “n ≥ 30” for proportions. The normality check for proportions uses the expected counts: np ≥ 10 and n(1 − p) ≥ 10.
- Mixing up the conditions’ jobs. The 10% condition is about the standard deviation formula (independence). Large counts is about the normal shape.
- “Doubling the sample halves the standard deviation.” It divides it by √2 ≈ 1.41. You need four times the sample to halve it.
- “Larger samples have less variability.” Too vague. The values of p̂ from larger samples vary less. The responses within a sample do not become less variable.
- Saying “it” or “the proportion” without saying which one. Say “the sample proportion” or “the population proportion”, and name the population.
- “A small probability proves the claim is false.” It gives reason to doubt the claim. Formal tests come in Topics 3.5 to 3.7.
- Rounding a required sample size down. 568.75 must become 569, or the target is missed.
Where this leads
In Topic 3.3 you will reverse the reasoning: p is unknown, so you use p̂ and the same standard deviation formula to build a confidence interval. Continue with Constructing a Confidence Interval for a Population Proportion. First try the practice questions, then use the revision notes and the checklist. For unbiased estimators, look back at Estimators.
Quick questions
Do I use p or p̂ in the conditions and the formula?
In this topic the population proportion p is known (or claimed), so use p: σp̂ = √(p(1 − p)/n) and the counts np and n(1 − p). When p is unknown, as in a confidence interval (Topic 3.3), you will use p̂ instead.
Why does the 10% condition matter?
Sampling without replacement makes the observations slightly dependent. If the sample is no more than 10% of the population, the effect is small and √(p(1 − p)/n) is accurate enough. If the sample is a larger fraction, the formula overstates the true variability.