Sampling bias

On this page 7

Sampling bias is a systematic error that occurs when the method used to select a sample gives some members of the target population a higher or lower chance of inclusion than others, so the sample no longer represents that population. In statistics, it distorts every estimate built on the sample, from a simple mean to a regression coefficient, and it does not shrink as the sample grows.

Sampling bias belongs to the broader family of selection bias. It differs from random sampling error, which is the natural, measurable variation between samples and is captured by the standard error and the confidence interval. Bias, by contrast, shifts the estimate in one direction and is invisible in the usual uncertainty measures.

How sampling bias distorts estimates

A statistical estimate is unbiased when its expected value equals the true population value. Under sampling bias, each unit has an unequal inclusion probability that the analysis does not account for. If the inclusion probability is correlated with the variable being measured, the estimate moves away from the truth; if the two are unrelated, the sample may still produce acceptable estimates for that variable.

The total error of an estimate is often written as the mean squared error, which equals the variance plus the squared bias. Increasing the sample size reduces the variance term, but the bias term remains constant. A very large biased sample therefore produces a narrow confidence interval around the wrong value, which creates false precision.

The table below separates the two components of error that analysts most often confuse.

PropertySampling biasRandom sampling error
DirectionConsistent, one-sided shiftVaries around the true value
Effect of larger samplesNo reductionShrinks with the square root of n
Captured by standard errorNoYes
Main remedyBetter design or weightingMore observations
Sampling bias versus random sampling error

Common types of sampling bias

Sampling bias appears in several recognizable forms, each linked to a specific weakness in how units reach the sample. Knowing the mechanism behind each type helps an analyst predict the direction of the error.

TypeMechanismTypical example
UndercoverageSampling frame misses part of the populationPhone surveys that omit people without phones
Self-selection biasParticipants choose whether to take partOnline opinion polls
Nonresponse biasSelected units fail to respond in a patterned wayBusy workers ignoring a survey
Survivorship biasOnly units that passed a filter remain visibleStudying only funds still in business
Convenience samplingUnits chosen because they are easy to reachSurveying shoppers at one mall
Healthy user biasHealthier people are more likely to enrollVolunteers in a wellness study
Types of sampling bias and their mechanisms

These types often occur together. A web survey may suffer from undercoverage and self-selection at once, and the combined bias can be larger than either alone.

Sampling bias is one of several sources of non-sampling error in data analysis. It concerns who enters the data, while other biases concern how values are measured or how variables relate. Keeping the categories distinct guides the choice of remedy, because measurement problems cannot be fixed by weighting and selection problems cannot be fixed by better instruments.

ErrorQuestion it answersWhere it arises
Sampling biasWho was included?Selection of units
Measurement biasWere values recorded correctly?Instruments and questions
ConfoundingIs a third factor driving the association?Causal structure of the data
Publication biasWhich results were reported?Selection of studies, not units
How sampling bias differs from neighboring errors

The concept also matters in machine learning, where training data collected from one group generalizes poorly to another. A model trained on biased samples learns the distribution of the sample, not the distribution of the population it will serve.

Detecting and correcting sampling bias

Detection starts by comparing sample characteristics with known population benchmarks, such as census figures for age, sex, region and education. Large gaps signal that inclusion probabilities were unequal. Analysts also compare early and late respondents, because late responders often resemble nonrespondents.

Prevention is more reliable than correction. Probability sampling designs, such as simple random, stratified and cluster sampling, give every unit a known, nonzero chance of selection. When bias remains, statistical adjustments can reduce it, as the decision table shows.

SituationRecommended remedyLimitation
Known inclusion probabilitiesInverse probability weightingExtreme weights inflate variance
Known population marginsPost-stratification or rakingCorrects only the variables used
Patterned nonresponseFollow-up of nonrespondentsCostly and slow
Frame misses a groupSupplementary frame or oversamplingRequires access to the missing group
Unknown selection mechanismSensitivity analysisGives bounds, not a single answer
Remedies for sampling bias

Every weighting method rests on the assumption that respondents and nonrespondents are similar within each adjustment cell. When that assumption fails, weighting can leave substantial bias in place.

Misconceptions about sampling bias

  • Big data is not automatically representative: millions of records from one platform reflect that platform’s users, not the general public.
  • Random-looking does not mean random: picking whoever happens to be available is convenience sampling, even without conscious preference.
  • A high response rate reduces risk but does not remove it: bias depends on whether nonresponse relates to the measured outcome.
  • Significance tests do not detect bias: a p-value assumes the sample was drawn correctly and says nothing about selection.

Put simply

Imagine judging how a whole pot of soup tastes from one spoonful, but always scooping from the top where the oil collects. However many spoonfuls you take, the soup will seem greasier than it really is.

Sampling bias works the same way. If the way you pick people or items favors some over others, the results lean in that direction. Collecting more of the same kind of data does not fix it; only a fairer way of choosing does.

In practice

A city transport office wants to know how satisfied residents are with public buses. It places a survey link on the bus operator’s app and receives 12,000 responses in two weeks, with 78 percent rating the service as good. The large sample produces a margin of error below one percentage point.

An analyst notices that the app is used mainly by frequent riders, and that people who stopped using buses because of poor service never see the survey. Comparing respondents with census data shows that residents over 65 and outer-district residents are heavily underrepresented.

The office runs a second survey on a stratified random sample of 1,500 households drawn from the address register, with mail and phone follow-up. Satisfaction in this sample is only 61 percent, and the gap reveals that the first result was inflated by self-selection. The office bases its route review on the second figure.