Priority labels: ImportantNeutralLess important show where to spend revision time.
The sampling distribution of a proportionImportant
Suppose a fraction p of a population has some trait. Draw a random sample of size n and record the sample proportion p̂ = (number with the trait) / n. Repeat the draw many times and the p̂ values pile up in a bell shape centred on p. That pile is the sampling distribution of p̂.
You only ever see one sample, but knowing the shape of the pile lets you say how surprising your one p̂ is. Do not confuse three different distributions: the population, the histogram of your single sample, and this theoretical distribution of the statistic across all samples.
When the Normal model is allowedImportant
Two assumptions, each backed by a checkable condition:
| Assumption | Condition | What to check |
|---|---|---|
| Independence | Randomisation | Random sample, or random assignment in an experiment |
| Independence | 10% condition | Sampling without replacement: n ≤ 10% of the population |
| Large enough sample | Success/failure | np ≥ 10 and nq ≥ 10 (use p when known, p̂ when building an interval) |
A quick numeric example: with p = 0.30 and n = 100 the spread is √(0.30·0.70/100) ≈ 0.046. A sample proportion of 0.49 lies (0.49 − 0.30)/0.046 ≈ 4.1 standard deviations above the centre, which would be astonishing if p really were 0.30.
SD versus SEImportant
The standard deviation √(pq/n) requires the true p. When p is unknown — the usual situation — substitute p̂ and call the result the standard error.
Rule of thumb: known p (a claim being tested) → SD; unknown p (building an interval) → SE.
The one-proportion z-intervalImportant
A confidence interval has the shape estimate ± critical value × standard error.
The critical value z* is chosen so that the middle C% of the standard Normal curve lies within ±z* (1.645, 1.960 and 2.576 for 90%, 95% and 99%).
Poll on the economy
A poll finds 1,495 of 3,559 adults saying the economy is improving. Build a 95% interval.
Sample proportion
Standard error
Margin of error and interval
We are 95% confident that between about 40.4% and 43.6% of adults think the economy is improving.
Interpreting an interval correctlyImportant
The population value is fixed; the interval is what varies from sample to sample. If you repeated the whole procedure many times, about 95% of the intervals built this way would contain the true proportion. The coverage simulator in the Lab tab lets you watch that happen.
| Claim | Verdict |
|---|---|
| "We are 95% confident the interval captures the true p." | Right |
| "There is a 95% probability that p lies in this interval." | Wrong — p is fixed, not random |
| "95% of individuals fall in this interval." | Wrong — the interval is about p, not about individuals |
| "95% of other samples' p̂ will land here." | Wrong — it describes p, not future p̂ values |
Margin of error: certainty against precisionImportant
The margin of error is the half-width of the interval, ME = z*·SE(p̂). You can trade certainty for precision, or buy both with more data:
- Higher confidence → bigger z* → wider interval.
- Larger n → smaller SE → narrower interval without losing confidence.
- p̂ near 0.5 gives the largest SE.
Because SE shrinks with √n, halving the margin of error needs four times the sample.
Choosing the sample sizeImportant
Solving ME = z*·√(p̂q̂/n) for n gives a planning formula. With no prior estimate use the worst case p̂ = 0.5 (it maximises p̂q̂); with a pilot value, use that and enjoy a smaller n. Always round up.
How many respondents?
A firm wants a 95% margin of error of 3 percentage points and has no prior estimate.
Plug in the worst case
Round up
At least 1,068 respondents are needed.
Tools: TI-84 and RNeutral
TI-84: STAT ▸ TESTS ▸ A:1-PropZInt builds the interval from x and n. R: prop.test(x, n, correct = FALSE) reports the interval and a test; its default continuity correction slightly changes the numbers, so switch it off to match a hand z-interval.
Common mistakesNeutral
- Using SD(p̂) instead of SE(p̂) in an interval, or the reverse in a test.
- Checking success/failure with p̂ when p is a given claim (use p), or the opposite for an interval.
- Reading the interval as a statement about individual observations.
- Forgetting the 10% condition or applying the formula to a non-random sample (the interval is then meaningless).
- Rounding a sample-size result down instead of up.
Key takeaways
- p̂ is roughly Normal with centre p and spread √(pq/n) when randomisation, 10% and success/failure hold.
- Interval = p̂ ± z*·SE; ME falls with √n; halve the ME by quadrupling n.
- Plan n with the worst case p̂ = 0.5 unless you have a pilot estimate, and round up.