Jugami › Statistics and Probability › Sampling and Surveys
Statistics · Unit 7
Sampling and Surveys
How asking a few people can tell you about millions, how surveys go wrong, and why only a randomized experiment can show cause and effect.
Every poll, survey and medical trial rests on the same quiet idea: you can learn about a huge group by looking carefully at a small part of it, if you choose that part by chance. This unit shows the main ways to pick a random sample, the ways samples and questions mislead, and how to design an experiment that can answer “does it work?”. It builds on samples and bias in Unit 4 and leads into the inference you met in Unit 5.
Dewey defeats Truman, 1948
On election night in November 1948, the Chicago Daily Tribune went to press with the headline DEWEY DEFEATS TRUMAN. The paper printed about 150,000 copies. The polls had agreed: Gallup's final survey, taken October 15–25, had Thomas Dewey at 49.5% and President Harry Truman at 44.5%.
Truman won. In the official state returns he took 49.6% of the popular vote (24,179,347 votes) to Dewey's 45.1%, and 303 electoral votes to Dewey's 189 (Strom Thurmond won 39). A photo of a grinning Truman holding up the wrong headline became one of the most famous pictures in American politics.
What went wrong? Two things, and both are in this unit.
- How people were chosen. The big polls of 1948 (Crossley, Gallup and Roper) used quota sampling. Each interviewer had to find so many men and women, so many older and younger people, and so on, but chose which people to interview. That freedom let the interviewers' own choices creep in, and their samples leaned toward Dewey. The Social Science Research Council's 1949 inquiry into the polls (Mosteller and colleagues) named this interviewer choice as the main weakness of quota sampling.
- When they stopped asking. The pollsters stopped polling a week or more before the vote, but many voters decided late. Gallup's son Alec later said the main problem was quitting too soon. Gallup switched to random area probability sampling in 1950.
Both mistakes produce bias: an error that pushes results the same way every time and doesn't shrink when you ask more people.
Populations, samples and censuses
The population is the whole group you want to learn about: all voters in a country, all phones a factory made today, all students in a school. A sample is the part of the population you actually measure. A census tries to measure every member of the population. The US Census, every ten years, tries to count every person living in the country.
Why not always take a census? It can be too slow, too expensive or simply impossible. Some measurements destroy what they test: a company that crash-tested every car it built would have none left to sell. A well-chosen sample is faster and cheaper, and it can even be more accurate than a rushed census, because the work can be done carefully.
As in Unit 4, a number that describes the population is a parameter (usually unknown), and a number calculated from a sample is a statistic. If a random sample of 1,000 voters has 52% in favor, the 52% is a statistic, p̂. The share of all voters in favor is the parameter, p.
The list you actually draw the sample from is the sampling frame: a register of voters, a school's enrollment list, a map of addresses. If the frame leaves out part of the population, no amount of careful random choosing can put them back.
Random sampling methods
A sample is random (statisticians also say probability sample) when chance decides who is in it, and every member of the population has a known chance of being chosen. Chance can't play favorites, so random samples are free from the selection bias that sank the 1948 polls. There are several ways to use chance.
Simple random sample (SRS)
Every group of n members has the same chance of being the sample. Number everyone in the frame, then use a random number generator (or names drawn from a well-mixed hat) to pick n different numbers. An SRS is the baseline that the formulas in Unit 5 assume.
Stratified random sample
Split the population into groups called strata whose members are alike in some way that matters (grade level, region, age group), then take a separate SRS inside each stratum. Stratifying guarantees every group is represented, and when the strata really differ, the estimate is more precise than an SRS of the same size.
Cluster sample
Split the population into clusters, usually by location (homerooms, city blocks, crates in a warehouse), pick some clusters at random, and measure everyone in the chosen clusters. It is cheap: an interviewer can visit one block instead of houses all over town. The catch: if each cluster is full of similar people, a few clusters give a noisy estimate.
Strata or clusters? You sample within every stratum, but you take whole clusters. Strata work best when each group is alike inside and different from the others. Clusters work best when each cluster is a mini-version of the whole population.
Systematic sample
To pick n from a list of N, work out the gap k = N ÷ n, choose a random starting point among the first k names, then take every k-th name after it. It's quick to do by hand. It goes wrong if the list has a pattern that repeats every k places, such as a rota where every 7th entry is a Sunday.
Multistage sample
Large surveys combine methods in stages. A national survey might pick counties at random, then neighborhoods at random inside the chosen counties, then households at random inside those neighborhoods. Each stage uses chance, so the whole sample is still random, but interviewers only travel to a few places.
Worked example: four ways to pick 60 students
A made-up high school has 1,200 students: 360 in grade 9, 300 in grade 10, 300 in grade 11 and 240 in grade 12. They sit in 40 homerooms of 30. The principal wants 60 students to answer a survey about the cafeteria.
- SRS: number the students 1 to 1,200 and let a random number generator pick 60 different numbers.
- Stratified by grade (proportional): 60 ÷ 1,200 = 1 in 20 from each grade, so take SRSs of 18, 15, 15 and 12 students from grades 9, 10, 11 and 12.
- Cluster: pick 2 of the 40 homerooms at random and survey all 30 students in each.
- Systematic: k = 1,200 ÷ 60 = 20. Pick a random start from 1 to 20, say 7, then take students 7, 27, 47, … , 1,187 from the alphabetical list.
Which is best? If opinions about the cafeteria differ by grade, stratifying makes the estimate steadier. Two homerooms might happen to be two grade 12 classes, so the cluster sample is the riskiest here, even though it is the easiest to collect.
Compare the methods
This made-up town has 200 households on 20 streets, split into four neighborhoods. Each household says whether it would use a new bus route. Neighborhood A, next to the bus depot, is keen; D, on the far side, is not. Overall, 90 of 200, or 45%, say yes. Take samples of 20 households with each method and watch where the estimates land.
Press 100 with every method and compare the rows. What you should see:
- Every random method is centered on the truth. None is biased.
- Stratified and systematic tie for the smallest spread: an SD of about 9.2 points, against about 10.6 for simple random. Both spread the sample across all four neighborhoods, which are very different. Stratified takes 5 from each by design; systematic does it because house numbers run street by street, so every 10th house means one house on every street.
- Cluster has the widest spread. Two blocks of 10 come from at most two neighborhoods, and blocks are like their neighborhoods. Multistage (one random block per neighborhood, then 5 houses from each) fixes that.
- Convenience (houses on the three streets nearest the depot) is steady but wrong: it lands near 80% again and again. Repeating a biased method just repeats the bias.
Bad ways to sample
A convenience sample takes whoever is easiest to reach: friends, the people in the front row, shoppers at one mall at lunchtime. A voluntary response sample lets people choose themselves: call-in shows, website polls, “text YES to…”. Both let something other than chance decide who answers.
Voluntary response is especially bad because the people who bother to reply usually feel strongly, and often negatively. A website poll can collect thousands of votes and still tell you nothing about the population.
“We got 50,000 replies, so it must be accurate.” Size doesn't rescue a self-selected sample. Fifty thousand people who chose to answer represent only people who choose to answer.
Kinds of bias
A sampling method is biased if, used again and again, it would consistently overestimate or underestimate the parameter. Random sampling removes one source of bias, the choosing, but a survey can still go wrong in other ways.
| Bias | What happens | Example |
|---|---|---|
| Selection bias | The way the sample is chosen favors some kinds of people | Interviewers pick friendly-looking people to approach |
| Undercoverage | Part of the population can't be chosen, because it's missing from the frame | A phone survey that dials only landlines misses people with only a cell phone |
| Nonresponse | People who were chosen can't be reached or refuse, and they differ from those who answer | Busy parents are never home when the interviewer calls |
| Response bias | People answer, but not truthfully or accurately | People overstate how often they vote or recycle, and understate habits they're embarrassed about |
| Wording and order effects | The question itself, or the questions before it, pushes the answer | “Don't you agree that…?” |
Undercoverage and nonresponse are both about who ends up in the data. Response bias and wording effects are about what they say. A survey can suffer from several at once.
Bigger isn't better: the 1936 Literary Digest poll
In 1936 the magazine The Literary Digest mailed mock ballots to about 10 million Americans. The names came from its own readers, car registrations and telephone lists. About 2.38 million sent them back, one of the largest polls ever. It predicted that Alf Landon would beat President Franklin Roosevelt with 57% of the vote and 370 electoral votes.
Roosevelt won with 60.8% of the vote and every state except Maine and Vermont (523 electoral votes). George Gallup's much smaller poll, about 50,000 people, picked Roosevelt to win, with 55.7% of the vote.
The Digest's sample had two problems. Its lists leaned toward better-off households (undercoverage), and the 2.38 million who chose to reply were not like the 7.6 million who didn't (nonresponse). A 1988 analysis concluded that nonresponse was the bigger problem. The magazine folded in 1938.
Precision is not accuracy. Sample size controls variability: a bigger random sample gives answers that cluster more tightly. Bias moves the center of that cluster. Making the sample bigger only clusters the wrong answers more tightly around the wrong value.
Wording and question order
Even with a perfect random sample, the answers depend on the question. Pew Research Center tests this with split-ballot experiments: half the sample, chosen at random, gets one version of a question and half gets another. Because chance decided who got which, any big difference comes from the wording. Here are four real examples.
Common ways a question pushes people:
- Leading or loaded words: “Do you support the reckless plan…?”, or opening with a reason to agree.
- Double-barreled questions ask two things at once: “Is the cafeteria food tasty and healthy?” What should someone answer if it's tasty but greasy?
- Agreeing to be agreeable: people tend to say “agree” to agree–disagree statements, whichever way they're worded. Asking people to choose between two balanced statements avoids that.
- Answer choices: the list of options you offer shapes the answers, and a missing option can't be chosen.
- Order: earlier questions set the mood for later ones, and the order of the options can matter too. Good surveys randomize the order of options where they can.
- Wanting to look good: on sensitive topics, people give the answer they think sounds best. Private, anonymous formats help.
Designing a survey
Good questions are short, neutral and specific, ask one thing at a time, offer balanced answer choices (including a way to say “not sure” when that's honest), and use words everyone understands.
Before the real survey, run a pilot test (or pretest): try the questions on a small group from the population and see where people hesitate, misread or skip. Professional pollsters also use focus groups and one-on-one interviews in which people say aloud what they think a question means.
Worked example: fixing a loaded question
Draft: “Don't you agree that the cafeteria's overpriced lunches should cost less and taste better?”
- Spot the problems: “Don't you agree” leads the reader; “overpriced” is loaded; “cost less and taste better” is two questions in one.
- Split it into two neutral questions: “How would you rate the price of a cafeteria lunch? Too high / About right / Too low / Not sure.” Then: “How would you rate the taste of cafeteria lunches? Very good / Good / Fair / Poor.”
- Pilot it: ask ten students to talk through their answers. If several ask “which lunch?”, add “a typical cafeteria lunch this term”.
Experiments vs observational studies
A survey observes. It records what people think or do, without changing anything. Questions about cause and effect need something more.
- In an observational study, researchers measure variables but don't try to influence them. Comparing the grades of students who choose to join a study group with those who don't is observational.
- In an experiment, researchers deliberately impose a treatment on the subjects and measure the result. Assigning students to study groups and comparing their grades is an experiment.
The variable the researchers change is the explanatory variable, or factor; its settings are levels. The outcome they measure is the response variable. The people (or plants, or batches) receiving treatments are the subjects or experimental units. With more than one factor, each treatment is a combination of levels: 3 fertilizer amounts × 2 watering schedules = 6 treatments.
Observational studies can show association, as in Unit 6's chocolate and hormone therapy examples. People who chose differently also differ in other ways, so the effect of the explanatory variable can't be untangled from those lurking variables. When two variables' effects on the response can't be told apart, they are confounded.
Designing an experiment
Good experiments share four principles.
- Comparison. Compare two or more treatments, often a new treatment against a control group that gets the usual treatment, nothing, or a placebo. Without a comparison group you can't tell what would have happened anyway.
- Random assignment. Use chance to decide which subjects get which treatment. That makes the groups alike on average in everything, including lurking variables nobody thought to measure.
- Control. Keep everything else the same for all groups: same instructions, same timing, same measuring tools.
- Replication. Use enough subjects in each group that chance differences between them even out. (Repeating a whole study with new subjects is also called replication, and it matters just as much.)
Placebos and blinding
People often feel better just because they are being treated. This is the placebo effect. A placebo is a dummy treatment, like a sugar pill or a saltwater shot, that looks the same as the real thing, so the control group has the same experience apart from the treatment itself.
Expectations affect researchers too. In a single-blind experiment, either the subjects or the people measuring the response don't know who got which treatment. In a double-blind experiment, neither do.
Worked example: does sleep affect memory?
A teacher has 40 student volunteers and wants to know whether a full night's sleep improves memory.
- Variables: the explanatory variable is hours of sleep (two levels: 5 hours and 8 hours); the response is the score on a 30-word memory test the next morning.
- Random assignment: write each name on a card, shuffle, and deal 20 cards to each group.
- Control: everyone studies the same words at the same time, sleeps at home with a fitness band to check their hours, and takes the same test.
- Blinding: students know how long they slept, so they can't be blind; but the person scoring the tests can be. That makes it single-blind.
- Conclusion: if the 8-hour group scores clearly higher, random assignment lets us say sleep caused the difference, for volunteers like these.
Why assign at random?
Twenty volunteers will test a new warm-up routine against the usual one. Eight of them are varsity athletes, who will run fast whatever warm-up they do. Compare three ways to make the groups.
When volunteers choose, the athletes tend to pick the exciting new routine. If the new group runs faster, is that the warm-up or the athletes? You can't tell: the treatment and athletic ability are confounded. Random assignment doesn't make the groups identical, but it makes any imbalance a matter of chance, which is exactly what the significance tests in Unit 5 account for.
Blocking and matched pairs
If you already know a variable affects the response, don't leave it to chance. Group similar subjects into blocks (athletes and non-athletes, say), then randomly assign treatments within each block. This is a randomized block design. It does for experiments what stratifying does for samples: it removes a known source of variation, so the treatment effect is easier to see.
A matched pairs design is the smallest kind of block: pairs of very similar subjects, such as twins, with a coin flip deciding which one gets which treatment. Or each subject gets both treatments, in a random order, and acts as their own control: for example, each runner tries both warm-ups on different days, with a coin flip deciding which comes first.
Mixing up blocking and stratifying. Both split subjects into similar groups first. Stratifying is for choosing a sample; blocking is for assigning treatments in an experiment.
A real trial: the 1954 polio vaccine
In the early 1950s, polio was one of the most feared childhood diseases in America. In 1954 Jonas Salk's new vaccine was tested in one of the largest medical experiments ever, evaluated by Thomas Francis Jr.'s team at the University of Michigan: 1,829,916 children in 211 areas of 44 states were included. It was really two studies, side by side.
- Observed-control areas: second graders whose parents agreed got the vaccine; first and third graders were watched as a comparison group, with no placebo.
- Placebo-control areas: children in grades 1–3 whose parents agreed got shots of either vaccine or an identical-looking placebo, by chance, and neither families nor doctors knew which. Doctors also judged whether a child had polio without knowing what the child had been given. It was a randomized, double-blind experiment.
In the placebo-control areas, the vaccinated children had about 16 cases of paralytic polio per 100,000, against 57 for the placebo group. That difference, between two groups made alike by chance, was the evidence that the vaccine worked.
Look at the third bar. The children whose parents said no had a lower rate (36) than the placebo children (57), even though neither group was protected. The volunteers' families were different: the trial's report found striking differences in income and education between families who joined and those who didn't. That's why comparing vaccinated volunteers against everyone else, as the observed-control areas did, was a weaker design: 17 cases per 100,000 among vaccinated second graders against 46 among first and third graders. That comparison mixes the vaccine's effect with grade level and family background. The randomized half of the trial avoided that problem.
Scope of inference
Two different uses of chance give two different kinds of conclusion.
- Random sampling lets you generalize from the sample to the population it was drawn from.
- Random assignment lets you conclude that the treatment caused the difference in the response.
| Randomly assigned | Not randomly assigned | |
|---|---|---|
| Random sample | Cause and effect, for the whole population | Association only, for the whole population |
| Not a random sample | Cause and effect, but only for subjects like these | Association only, for these subjects |
Most experiments use volunteers, so they land in the bottom-left cell. The polio trial randomly assigned children whose parents volunteered, so strictly its causal conclusion was for children like them. Doctors then had to judge that the vaccine would work the same way in other children too, and later experience bore that out.
Worked example: what can we say?
A random sample of 300 workers at a large company is split by coin flips: 150 get a new safety training, 150 don't. A year later the trained workers have fewer injuries, and the difference is statistically significant.
- Random sample? Yes, from all the company's workers, so the result generalizes to them.
- Random assignment? Yes, so the training can be said to cause the drop.
- Conclusion: the training reduces injuries among this company's workers. It says nothing directly about workers at other companies.
When the response is a category rather than a number, such as “injured or not”, the groups in an experiment like this are compared with a chi-square test, the subject of Unit 8.
Common mistakes
Calling any haphazard choice “random”. Picking “random” people in the hallway is a convenience sample. Random means a chance process like a random number generator.
Thinking a bigger sample fixes bias. Size reduces variability, not bias. See 1936.
Mixing up random sampling and random assignment. Sampling decides who is in the study; assignment decides who gets which treatment.
Confusing strata and clusters. Sample some from every stratum; take all of a few clusters.
Calling a study an experiment because it has groups. If the subjects (or nature) chose the groups, it's observational.
Treating a placebo group as “no treatment”. The placebo is there so both groups have the same experience. Comparing against people who got nothing mixes in the placebo effect.
Saying an observational study “proves” a cause. Without random assignment, lurking variables may explain the link.
Practice
History
- 1747 Aboard HMS Salisbury, naval surgeon James Lind gives 12 sailors with scurvy six different treatments, two sailors each. The pair given oranges and lemons do best. It is one of the earliest planned comparisons of treatments, though not randomized.
- 1934 Jerzy Neyman shows that random (stratified) sampling is more reliable than choosing a sample “purposively” to look like the population, and how to measure its accuracy.
- 1935 R. A. Fisher's book The Design of Experiments makes the case for random assignment, replication and blocking. (Fisher's “lady tasting tea” opens Unit 5.)
- 1936 The Literary Digest's 2.38-million-reply poll calls the election for Landon; Gallup's much smaller sample picks Roosevelt.
- 1948 Quota-sampled polls call the election for Dewey. The same year, the British Medical Research Council publishes a trial of streptomycin for tuberculosis that used random numbers in sealed envelopes to decide who got the drug, widely called the first modern randomized controlled trial.
- 1954 The Salk polio vaccine trial includes a randomized, double-blind, placebo-controlled experiment with about 400,000 children in its vaccine and placebo groups.
Quiz
Ten questions. Pick an answer for each, then check.
Talk about it
- A news site says “73% of readers think the new law is unfair.” What would you want to know before believing that tells you about the public?
- Fewer people answer phone surveys than a few decades ago. Why is that a problem even if the people called are chosen at random?
- Write a question about school uniforms that leans toward “yes”, then one that leans toward “no”. Then write a neutral one.
- Some questions can only be studied by observation: no one may assign people to smoke. How could researchers still build a convincing case?
- Is it fair to give some sick children a placebo when a vaccine might protect them? What did the 1954 trial gain by doing it?
Sources
- Wikipedia, Dewey Defeats Truman: the Chicago Daily Tribune headline of 3 November 1948, the roughly 150,000 copies printed and the 303–189–39 electoral vote.
- Gerald R. Ford Presidential Library, “The 1948 Election” (Dorothy Downton Files, Box 1): final Gallup poll of 15–25 October 1948, Dewey 49.5%, Truman 44.5%; election result Dewey 45.1%. Truman's 49.6% (24,179,347 of 48,794,565 votes) is from the states' official returns as compiled by Dave Leip's Atlas of U.S. Presidential Elections; the Clerk of the House's 1949 statistics, which count the highest vote for any elector in each state, give 49.4%.
- Frederick Mosteller, Herbert Hyman, Philip J. McCarthy, Eli S. Marks and David B. Truman, The Pre-Election Polls of 1948 (Social Science Research Council, Bulletin 60, 1949): the principal weakness of quota sampling was the interviewers' choice of respondents (p. 304), and the polls missed late shifts in voting intentions.
- Alec M. Gallup, interview in The Public Perspective (Roper Center), April/May 1997: the main 1948 error was stopping polling too early; Gallup moved to area probability sampling in 1950. Poll figures for Crossley, Gallup and Roper: Kyle Siegrist, Random: The 1948 election.
- Wikipedia, The Literary Digest (citing D. Freedman, R. Pisani and R. Purves, Statistics, 4th ed., pp. 335–336): 10 million ballots mailed, 2.38 million returned, Landon predicted at 57% and 370 electoral votes; Roosevelt 60.8% and 523; Gallup's sample of about 50,000; the magazine's end in 1938.
- Peverill Squire, “Why the 1936 Literary Digest Poll Failed”, Public Opinion Quarterly 52(1), 125–133 (1988), doi:10.1086/269085: nonresponse bias, more than the sample frame, explains the error.
- Pew Research Center, Writing Survey Questions: the Iraq (January 2003), domestic vs foreign policy (January 2002), open vs closed (2008) and question order (December 2008) split-ballot examples; double-barreled questions, acquiescence bias, social desirability and pretesting.
- Thomas Francis Jr. and others, Poliomyelitis Vaccine Evaluation Center, Evaluation of the 1954 Field Trial of Poliomyelitis Vaccine: Summary Report (University of Michigan, 1955); case counts as tabulated by Kyle Siegrist, Random: The Salk vaccine field trial. Rates per 100,000 computed from those counts.
- Jerzy Neyman, “On the Two Different Aspects of the Representative Method: The Method of Stratified Sampling and the Method of Purposive Selection”, Journal of the Royal Statistical Society 97(4), 558–625 (1934), doi:10.2307/2342192.
- Medical Research Council, “Streptomycin Treatment of Pulmonary Tuberculosis”, BMJ 2(4582), 769–782 (30 October 1948), PMC2091872; Alan Yoshioka, “Use of randomisation in the Medical Research Council's clinical trial of streptomycin in pulmonary tuberculosis in the 1940s”, BMJ 317, 1220 (1998).
- “Lind and scurvy: 1747 to 1795”, Journal of the Royal Society of Medicine, PMC1276007, and “The James Lind Initiative”, PMC539653: Lind's comparison of six treatments in 12 sailors aboard the Salisbury, begun 20 May 1747, in which oranges and lemons did best.
- R. A. Fisher, The Design of Experiments (Oliver and Boyd, 1935).
- The town in the sampling simulator, the park poll, the warm-up volunteers, the school of 1,200 and the other examples on this page are made up for teaching.