- Sampling bias occurs when the method used to draw a sample gives some members of the population a systematically higher chance of being included than others.
- It is a systematic error, so collecting more data through the same flawed method doesn’t remove sampling bias.
- Sampling bias is now a leading cause of unfair AI, because a model can only learn from the slice of the world present in its training data.
- Probability sampling, a complete sampling frame, and aggressive nonresponse follow-up prevent far more bias than any statistical correction can repair.
What is sampling bias in research?
Sampling bias is a systematic error that arises when the procedure used to select a sample makes some members of the target population more likely to be chosen than others, in a way that is related to what is being measured. The sample then misrepresents the population, and every statistic calculated from it is also biased.
The phrase “related to what is being measured” is the critical part. A sample can be unrepresentative on traits that do not matter without harming the study. Bias appears when the selection mechanism correlates with the outcome variable. For example, you conduct a survey to examine physical fitness levels of the population of X town, but you recruit participants at local gyms or parks. You are automatically prioritizing people who already exercise in your sample, and you may miss a significant number of people who are sedentary or housebound.
Sampling bias typically enters through 3 routes:
- An incomplete sampling frame, which is the list or mechanism used to reach the population, so parts of it are unreachable from the start.
- A nonrandom selection method, such as convenience or quota sampling, which lets the researcher or the respondent decide who takes part.
- Uneven participation, in which invited people opt out at different rates depending on their characteristics.
Sampling bias reduces external validity: findings do not transfer to the population the research claims to describe. Because the error is systematic, it has a fixed direction. It does not average out, and it does not shrink as the dataset grows.
Note that sampling bias is not visible during data analysis. Statistical software reports the same confidence intervals, p-values, and accuracy scores whether the sample was drawn well or badly. Nothing inside the dataset flags the people who never had a chance of appearing in it. Detecting sampling bias therefore requires information from outside the study: population benchmarks, registry counts, or a clear record of how recruitment actually worked.
Sampling bias types
Below are the main types of sampling bias and their preventive measures:
| Type | Mechanism | Typical example |
| Undercoverage bias | The sampling frame omits part of the target population | A landline-only poll that misses mobile-only households |
| Convenience sampling bias | Units are chosen because they are easy to reach | Psychology findings based on undergraduate participant pools |
| Self-selection or volunteer bias | People decide for themselves whether to take part | An open web poll answered mainly by people with strong opinions |
| Nonresponse bias | Those who decline differ from those who reply | An optional nutrition survey filled by parents who care more about their child’s nutrition |
| Exclusion bias | Eligibility rules remove relevant groups | Drug trials that exclude pregnant women and adults over 75 |
| Pre-screening or advertising bias | Recruitment channels attract a narrow profile of participants | A trial advertised only in 1 hospital network |
| Cluster or area bias | Geographic units chosen nonrandomly | Household surveys that skip informal settlements like trailer parks or halfway houses |
Sampling bias example
The clearest way to see sampling bias is through cases where the true answer later became known.
Suppose a university wants to know how many of its 10,000 students commute by car. Researchers survey students in the main parking lot between 8 a.m. and 10 a.m. and find that 82% drive.
- The sampling frame is the parking lot, so students who walk, cycle, or take the bus have almost no chance of selection.
- The selection probability is directly tied to the outcome being measured, which is the definition of sampling bias.
- Surveying 2,000 students instead of 200 narrows the confidence interval around 82% but leaves the estimate just as wrong.
- A random draw from the full enrollment register, with follow-up reminders, would place the true figure far lower.
The same logic reaches well beyond campus research. Feedback collected inside an app reaches only active users, product tests run in 1 city reflect that city alone, and street interviews held on weekday mornings reach whoever is not at work. In each case the channel, place, and timing of recruitment act as an invisible filter on the answer.
Sampling bias in AI
Machine learning models learn directly from training data. If that data is a biased sample, the model reproduces the bias at scale and with an appearance of objectivity. Sampling bias has become one of the most consequential fairness problems in applied AI.
It enters at several points in the pipeline:
| Where it happens | What goes wrong | Why that’s a problem |
| Gathering the data | Most of the text and images pulled off the internet come from rich, English-speaking countries | The AI works well for those users and poorly for everyone else |
| Tagging the data | The people who label what’s in each photo or sentence all come from similar backgrounds | The “right answers” the AI learns from are already biased |
| Balancing the examples | Some categories barely show up in the training data, like a remote population or an uncommon accent | The AI scores well on average while quietly failing the groups it rarely saw |
| Learning from old records | The AI is trained on past human decisions, like who got hired before, and treats them as correct | It copies the unfair patterns people made in the past, like prioritizing white cishet men for hiring |
| Learning from its own use | The AI decides where to look, then only gets new data from the places it already chose | It keeps confirming what it already believed, which is how predictive policing goes wrong |
| Testing the finished model | The test data comes from the same skewed pile as the training data | The test says the AI is accurate when it isn’t |
The best-known example is the Gender Shades audit published in 2018, which tested AI-powered facial analysis systems. Error rates for lighter-skinned men were below 1%, while errors for darker-skinned women exceeded 30% on some systems. The models were not badly built; their training images simply underrepresented the groups on which they failed.
Medical AI shows the same pattern. Diagnostic models trained on imaging data from a handful of hospitals often degrade when deployed elsewhere, because scanner types, patient demographics, and disease prevalence differ from the training sample.
How to avoid sampling bias
Sampling bias is a design problem, so it is solved while you are choosing a research design.
- Clearly define who is the target population before choosing a sampling method.
- Build a sampling frame that covers the whole target population, to prevent undercoverage bias.
- Use simple random, cluster, or systematic sampling.
- Use stratified sampling if your target population has known subgroups that substantially differ from the main population.
- Use multiple channels and languages for recruitment
- Send reminders, vary contact times, offer incentives to boost study participation and prevent nonresponse bias
- Compare your final sample against trusted benchmarks like census data if possible.
- In your methods section, clearly report exclusion criteria, response rates, and study delimitations.
If the data is already collected, partial repairs are still possible:
- Post-stratification weighting, which rebalances the sample to match known population totals.
- Raking, which aligns the sample on several variables at once when full cross-tabulations are unavailable.
- Sensitivity analysis, which shows how large the hidden skew must be to change the conclusion.
- Report limitations honestly, naming groups that your study cannot generalize to, in your research paper.
Sampling bias vs sampling error
Sampling error and sampling bias are often confused, but they are opposites in almost every practical respect. Sampling error is the random variation that occurs because a sample is only part of a population. Draw 2 random samples of 500 people and their averages will differ slightly, purely by chance.
Sampling bias is systematic rather than random. It pushes the estimate in a consistent direction, and repeating the study with the same method reproduces the same error. Confidence intervals and margins of error quantify sampling error only.
| Dimension | Sampling bias | Sampling error |
| Nature | Systematic error with a fixed direction | Random variation around the true value |
| Cause | A flawed selection method or frame | Observing a subset rather than everyone |
| Effect of larger samples | No reduction at all | Decreases as sample size increases |
| Measurable? | Only against external benchmarks | Yes, through standard errors and confidence intervals |
| Remedy | Redesign the sampling method | Increase sample size or improve precision |
Frequently Asked Questions
What causes sampling bias in a survey?
The main causes of sampling bias are 1) a sampling frame that does not cover everyone, 2) nonrandom sampling strategy such as convenience sampling, 3) self-selection by respondents who choose to answer, and 4) uneven nonresponse. Recruitment channels matter more than most researchers expect. A survey promoted only through email or only in 1 language can exclude entire segments before a single question is asked.
How can you tell if a sample is biased?
There is no single test, but reliable warning signs exist:
- Sample demographics differ noticeably from census or registry figures.
- The response rate is low, especially below 50%.
- Recruitment used volunteers, a single site, or an online panel.
- Known subgroups are missing entirely or appear in very small numbers.
When any of these appear, check the sample against external benchmarks before reporting results.
Does increasing sample size reduce sampling bias?
No. Increasing sample size reduces sampling error, which is random, but it does nothing to sampling bias, which is systematic. A poll of 1 million self-selected respondents is less trustworthy than a properly drawn random sample of 1,000.
What is the difference between sampling bias and selection bias?
Sampling bias is a subtype of selection bias. Sampling bias refers specifically to how units are drawn from a population. Selection bias is the broader category and also covers how participants are allocated to comparison groups, who drops out during follow-up, and which records reach the final analysis. All sampling bias is selection bias; the reverse is not true.


Comment