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.

PDFBack to the game

After this guide you can

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

From population to sample to inference, the four random sampling methods, and observational study versus experimentPOPULATIONevery adult in townparameter: μ, p, σSAMPLE400 adults surveyedstatistic: x̄, p̂, sINFERENCEestimate or test theparameter, with errorrandomcomputeSimple randomevery group of nequally likelyStratifiedrandom sample withineach stratumClusterpick whole clustersat randomSystematicevery kth personafter a random startFour random sampling methodsOBSERVATIONAL STUDYwatch, do not assignassociation onlyEXPERIMENTrandomly assign treatmentscan show cause and effect

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.

  1. Population: all patient visits this month. Parameter: the mean wait μ.
  2. Visits differ by day of the week, so stratify by weekday and take a simple random sample of visits within each day.
  3. Compute x̄ from the sample; it estimates μ.
  4. 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

Check yourself

  1. "38% of 500 sampled voters favor the bond." Is 38% a parameter or a statistic?
  2. Is "pain rated none, mild, moderate, severe" nominal or ordinal?
  3. Temperature in °F is which level?
  4. A school picks 10 classrooms at random and surveys every student in them. Method?
  5. Why does random assignment matter?
  6. Coffee drinkers live longer in a survey. Can we say coffee causes it?
  7. What is the purpose of a placebo?
  8. A call-in poll gets 10,000 replies. Is it trustworthy?

Answer key

  1. A statistic. It comes from the sample.
  2. Ordinal. The categories have a natural order.
  3. Interval. Differences make sense but 0 °F is not "no heat."
  4. Cluster sampling. Whole groups are selected.
  5. It balances confounders across groups. So a difference in outcomes can be credited to the treatment.
  6. No. Observational; lifestyle confounders may explain it.
  7. To control for the placebo effect. Both groups then expect treatment equally.
  8. No. Voluntary response bias; size does not fix it.

2 Describing3 Probability4 Normal5 CLT6 Intervals7 Tests8 Regression9 Chi-square, ANOVA10 Health stats11 Full review