Sampling Strategies and Sample Size
Pick a sampling strategy, compute a margin of error and the sample size a survey needs, and estimate group sizes for comparing two means.
Welcome back!
Step 1 of 11Learn
The poll that interviewed millions and still missed
In 1936 a popular US magazine mailed ballots to about 10 million people, drawn largely from telephone directories and car registrations, and received over 2 million replies. It predicted a landslide defeat for the sitting president. He won in a landslide. A young pollster using a far smaller but better-designed sample called the result correctly.
The lesson still holds: how you select a sample matters more than how many you select. The magazine's list overrepresented wealthier households during the Great Depression, and those who mailed back ballots were not typical either. Two million biased responses gave a precise estimate of the wrong population.
Sampling starts with three definitions:
- Target population: everyone you want to draw conclusions about (all registered voters in the country).
- Sampling frame: the actual list or procedure you draw from (a voter file, a list of addresses). Gaps between frame and population cause coverage error.
- Sample: the people actually selected, and then the respondents who actually take part.
At every step from population to respondents, people can drop out in ways related to your topic. Good design tracks and minimizes each gap.
Step 2 of 11Compare
Sampling strategies used across disciplines
| Aspect | Type | How it works | Good for | Watch out for |
|---|---|---|---|---|
| Simple random | Probability | Every member of the frame has an equal chance | Small, listable populations | Needs a complete list |
| Systematic | Probability | Every k-th unit from a list after a random start | Patient records, invoices, field transects | Hidden cycles in the list |
| Stratified | Probability | Random samples within subgroups (strata) | Guaranteeing enough cases in small groups | Needs strata info for everyone |
| Cluster / multistage | Probability | Randomly pick groups (schools, villages), then units inside | National surveys without a full list of people | Less precise than simple random for the same n |
| Purposive | Non-probability | Deliberately choose information-rich cases | Qualitative studies, expert interviews | No statistical generalization |
| Snowball | Non-probability | Participants refer others | Hidden populations, such as undocumented workers | Networks of similar people |
| Convenience | Non-probability | Whoever is easy to reach | Pilot tests | Strong selection bias |
Step 3 of 11Practice · Match the pairs
Match each research situation to the most suitable sampling strategy.
Tap an answer, then tap the place where it belongs (or drag it there).
- A national education survey: randomly pick 150 schools, then 2 classes in each
- An ecologist samples every 20th meter along a river after a random start
- A study of people who use unlicensed street lenders, with no list available
- A company survey ensuring enough responses from each of its five regional offices
- Interviews with 10 hospital directors chosen for their experience with mergers
Step 4 of 11Learn
Margin of error: how precise is a survey?
Even a perfect random sample will not match the population exactly, simply by chance. The margin of error (MOE) expresses that sampling uncertainty. For a proportion at 95% confidence:
MOE = 1.96 × √( p × (1 − p) / n )
where p is the sample proportion and n the sample size. The 1.96 comes from the normal distribution: 95% of samples fall within 1.96 standard errors of the true value.
Example: 1,000 randomly sampled residents, 50% support a new tram line. MOE = 1.96 × √(0.5 × 0.5 / 1,000) = 1.96 × 0.0158 ≈ 0.031, or ±3.1 percentage points. So the true support is plausibly between about 47% and 53%.
Three things to notice:
- p = 0.5 gives the largest MOE, so it is the cautious default when you do not know p.
- Precision grows with the square root of n. Quadrupling the sample only halves the margin of error, which is why most national polls stop at 1,000 to 1,500 people.
- The MOE covers random sampling error only. It says nothing about coverage gaps, nonresponse or bad question wording, which are often larger.
Step 5 of 11Explore
Margin of error versus sample size
The curve shows the 95% margin of error (in percentage points) as the sample size grows. Move the slider for the expected proportion and watch how fast the gains shrink after a few hundred respondents.
- MOE at n = 400
- 4.9 points
- MOE at n = 1,600
- 2.5 points
Step 6 of 11Practice · Estimate
A random sample of 400 people finds 50% in favor of a policy. Estimate the 95% margin of error in percentage points.
Step 7 of 11Learn
Working backward: how many people do I need?
Rearranging the margin-of-error formula gives the sample size needed for a target precision:
n = z² × p × (1 − p) / E²
with z = 1.96 for 95% confidence and E the margin of error as a decimal. For E = 0.05 (±5 points) and p = 0.5: n = 3.8416 × 0.25 / 0.0025 = 384.2, so 385 completed responses (always round up). For ±3 points the answer jumps to 1,068.
If the population is small, apply the finite population correction: n_adj = n / (1 + (n − 1) / N). For a school of N = 2,000 students, 385 becomes 385 / (1 + 384/2,000) ≈ 323.
Then allow for nonresponse: if you expect 40% to respond, you must invite roughly 323 / 0.40, a little over 800 students.
Comparing groups needs a different calculation, based on statistical power: the chance of detecting a real difference. A handy rule of thumb for comparing two group means at 5% significance and 80% power is n per group ≈ 16 / d², where d is the expected difference in standard deviation units. A medium effect (d = 0.5) needs about 64 people per group; a small one (d = 0.2) needs about 400. Small effects are expensive to detect.
Step 8 of 11Try the calculator
Survey sample size planner
Set the margin of error you want, the expected proportion, the population size and the response rate you expect.
- Completes needed (large population)
- 385
- Completes needed (with finite population correction)
- 323
- People to invite
- 806
Step 9 of 11Practice · Work it out
Using the rule of thumb n per group ≈ 16 / d², how many participants per group do you need to detect an expected effect of d = 0.4?
Step 10 of 11Note
Step 11 of 11Practice · Choose one
A pollster wants to cut the margin of error from ±4 points to ±2 points. Roughly how must the sample size change?
Lesson complete!