StatsQuest · Town Hall Survey Office · Statistics
Sampling and Study Design
Good statistics starts before any math: who you measured, how you chose them, and whether you assigned anything.
After this guide you can
- Tell a population from a sample and a parameter from a statistic.
- Classify variables and levels of measurement.
- Name and use four random sampling methods.
- Spot bias in a sample or a question.
- Tell an observational study from an experiment and say what each can conclude.
Key terms
- Population
- The whole group you want to know about.
- Sample
- The part of the population you actually measure.
- Parameter
- A number describing a population (μ, p, σ).
- Statistic
- A number computed from a sample (x̄, p̂, s).
- Categorical variable
- Places each individual in a group, like blood type.
- Quantitative variable
- A measured number where arithmetic makes sense, like weight.
- Levels of measurement
- Nominal, ordinal, interval, ratio. Ratio has a true zero.
- Confounding variable
- A variable linked to both the explanatory and response variables that muddies the comparison.
- Sampling error
- The natural difference between a statistic and the parameter from chance alone.
The big ideas
- Parameter goes with Population, statistic goes with Sample.
- Random selection protects against bias in who gets measured; random assignment protects against confounding in who gets the treatment.
- Convenience, voluntary response and undercoverage samples are biased; a bigger biased sample is still biased.
- Only a randomized experiment supports a cause and effect conclusion. An observational study shows association.
- A good experiment has a control group, random assignment, replication and, when possible, blinding.
Random selection gets you from population to sample; random assignment is what makes an experiment.
Worked example
A clinic wants the average wait time of all its patients this month. Pick a method.
- Population: all patient visits this month. Parameter: the mean wait μ.
- Visits differ by day of the week, so stratify by weekday and take a simple random sample of visits within each day.
- Compute x̄ from the sample; it estimates μ.
- Avoid asking only the patients in the lobby at noon: that is a convenience sample.
Answer: A stratified random sample by weekday, reporting x̄ as the estimate of μ
Common mistakes
- Calling a survey "random" because people chose to answer it (voluntary response).
- Mixing up stratified (sample from every group) and cluster (take whole groups).
- Claiming causation from an observational study.
- Treating zip codes or jersey numbers as quantitative.
- Thinking a huge sample fixes a biased method.
Check yourself
- "38% of 500 sampled voters favor the bond." Is 38% a parameter or a statistic?
- Is "pain rated none, mild, moderate, severe" nominal or ordinal?
- Temperature in °F is which level?
- A school picks 10 classrooms at random and surveys every student in them. Method?
- Why does random assignment matter?
- Coffee drinkers live longer in a survey. Can we say coffee causes it?
- What is the purpose of a placebo?
- A call-in poll gets 10,000 replies. Is it trustworthy?
Answer key
- A statistic. It comes from the sample.
- Ordinal. The categories have a natural order.
- Interval. Differences make sense but 0 °F is not "no heat."
- Cluster sampling. Whole groups are selected.
- It balances confounders across groups. So a difference in outcomes can be credited to the treatment.
- No. Observational; lifestyle confounders may explain it.
- To control for the placebo effect. Both groups then expect treatment equally.
- No. Voluntary response bias; size does not fix it.
2 Describing3 Probability4 Normal5 CLT6 Intervals7 Tests8 Regression9 Chi-square, ANOVA10 Health stats11 Full review