Research · Explainer

Selection bias and how the wrong sample skews a study's conclusions

Selection bias occurs when the people or observations available for analysis differ systematically from those needed to answer a research question. It can affect recruitment, follow-up or comparisons within the resulting data. The consequence depends on what is being estimated: a population percentage may be distorted even when a particular association remains informative.

A study's sample can change between invitation and final analysis. Published research on volunteer cohorts, clinical trials and incomplete follow-up makes those changes visible, while causal-methods papers explain why they sometimes alter an association. Reporting standards also show which details allow readers to assess selection.

Wooden balls in two colours scattered around a transparent tray containing mostly pale balls.
A transparent tray holds a skewed selection of coloured wooden balls. Editorial illustration

What selection bias is and why the study sample matters

Selection bias begins with entry into a dataset. In a 2004 causal analysis, Hernán, Hernández-Díaz and Robins grouped unsuitable control selection in case-control studies with informative censoring during cohort follow-up, showing that selection can operate at different points of an investigation. Their causal account links selection to factors related to exposure and outcome. A complete file of recruited participants may still leave the target population unrepresented.

Target population, participants and analysed data

The target population defines the intended inference. For their 2017 UK Biobank assessment, Fry and colleagues compared enrolled volunteers with invited nonparticipants and national survey respondents, so that participation patterns could be assessed against people outside the final cohort. Recruitment was selective: the participants differed from the invited population by age, sex and socioeconomic circumstances. By comparing the people who joined with the invited population and external survey respondents, the researchers could distinguish the composition of the volunteer cohort from the population whose disease frequencies might otherwise be inferred.

A further distinction appears when data are collected repeatedly. Lacey and colleagues (2013) examined an older-adult cohort whose respondents changed between the baseline questionnaire and later follow-up. Those recruited at baseline, those who responded later and those retained for analysis were not necessarily the same group. The appropriate denominator changes with the comparison.

Systematic error and study validity

Fry et al. (2017) concluded that UK Biobank was unsuitable for estimating generally representative disease frequencies from its raw sample. The researchers nevertheless considered many exposure-disease associations potentially generalisable. Those judgements concern different targets. Prevalence concerns disease frequency, whereas an association compares measured characteristics; research on internal and external validity further distinguishes the credibility of a study comparison from its applicability beyond the recruited sample.

The division is visible in research on self-rated health and education across countries, where a comparison of groups is distinct from estimating a population's health profile. The general methodological distinction is documented by Fry et al. (2017). The same selective cohort need not distort every analysis to the same degree.

How selection bias begins with sampling and recruitment

A sample first becomes selective when the route to participation gives some eligible people different chances of appearing in the dataset. Fry et al. (2017) documented that problem in UK Biobank, where participation was associated with age, sex and neighbourhood deprivation. Invitation rules matter as well: the cohort drew people living within reach of assessment centres. Recruitment therefore defines who can be observed before measurement begins.

Coverage and convenience sampling

A study recruiting from an accessible group may omit people who belong to its intended population. The UK Biobank analysis by Fry and colleagues (2017) compared the participant group with the population invited to take part and with external national data. Its sampling and response processes produced a cohort that was disproportionately female, older and from less deprived areas. That mismatch restricts straightforward interpretation of raw population rates.

An apparent coverage problem is different from unequal response after a valid invitation. STROBE's methodological account, written by Vandenbroucke and colleagues (2007), explains that an undelivered questionnaire can reduce precision without necessarily introducing health-related bias. Nonparticipation linked to illness or perceived health can alter estimated illness prevalence. Reasons for nonresponse matter.

Volunteers and survey nonresponse

Volunteering connects the topic of a study to the people willing to join it. Fry et al. (2017) found fewer current smokers, people with obesity and respondents reporting daily drinking among UK Biobank participants than among the comparison population. The resulting health profile reflected a selective group of volunteers, with measured behaviours and characteristics distributed differently from those of people in the external comparison population used by the researchers. Participation could therefore favour a subset of the eligible public before any outcome was measured.

Van Alten and colleagues (2024) subsequently used census data to examine the statistical consequences of that selection. Their comparison included 21 associations assessed before and after reweighting. Volunteer bias sometimes changed the direction of an observed association relative to the target-population estimate. Enrolling a large number of volunteers did not resolve the discrepancy, since a greater number of observations within a selectively recruited cohort does not automatically make its associations representative of the population to which they are compared.

Related research on self-reported participation rates concerns respondents. In their 2007 STROBE explanation, Vandenbroucke and colleagues distinguish an undelivered questionnaire that makes an estimate less precise from nonresponse related to health, which can systematically distort estimated disease prevalence. Van Alten et al. (2024) likewise found that cohort size did not ensure the validity of measured associations.

How selection bias can skew associations and conclusions

Associations can change when selection depends on characteristics linked to both sides of a comparison. Hernán and colleagues (2004) described a common causal structure in which analysis is conditioned on a common effect of exposure-related and outcome-related variables. Restricting the analysis to selected individuals can then create an association different from the one in the population of interest. Its direction is not predetermined.

Direction and magnitude of distortion

In a 2024 investigation, van Alten and colleagues compared UK Biobank associations with corresponding estimates from a census-based target population. Some unweighted associations had opposite signs to their population counterparts. Older Biobank volunteers, for instance, reported better health, whereas the census-based comparison gave a contrary age-health pattern. The reversal concerned variables examined in the UK Biobank and census comparisons, where the investigators specified a population of invitees and then assessed what happened to the measured association under selective volunteer participation.

This is not ordinary sampling noise. Random fluctuation can affect a sample even when assignment is unpredictable, as Odgaard-Jensen et al. (2011) explain in their review of trial methods. Odgaard-Jensen et al. (2011) distinguish systematic selection from chance imbalances, which can still arise with unpredictable allocation. Van Alten et al. (2024) show that a very large sample can retain substantial volunteer selection bias.

Case-control and cohort examples

In case-control studies, researchers compare people with and without an outcome and examine how their earlier exposures differ. Hernán et al. (2004) identified inappropriate control selection as one source of bias. If the controls do not represent the exposure circumstances of the population that gave rise to the cases, the resulting association may reflect the selection process. Cohort research faces a related risk when loss to follow-up depends on informative factors.

A 2008 review coauthored by Alonso examined smoking in relation to Alzheimer disease and dementia across prospective studies. The reported relative rate for Alzheimer disease ranged from 0.27 to 2.72 across 12 studies, while estimates for dementia ranged from 0.38 to 1.42 across 6 studies. Minimum age at entry, between 55 and 75 years, explained much of the variation between studies. The authors proposed that selection through death before observation might explain changes in the apparent association with age; they presented that explanation as a conjecture.

The smoking example concerns survival into an older cohort. Another distortion can arise through excluding observations during a later analysis, which Hernán et al. (2004) classified alongside informative censoring. A detailed record of initial enrolment does not by itself establish which participants remain under observation or why some observations disappear, so estimates made after recruitment may still be vulnerable to informative censoring.

Types of selection bias that emerge after enrolment

The final dataset may shrink. Vandenbroucke and colleagues (2007) identify missing values in questionnaires, missed follow-up observations and incomplete routine clinical records, each of which may change which participants contribute to a given observational analysis. Whether this changes an estimate depends on the relationship between missingness and the variables being studied. Loss of participants is a warning about possible bias, not a numerical measure of it.

Attrition and missing follow-up data

Lacey, Jordan and Croft (2013) examined follow-up in the North Staffordshire Osteoarthritis Project against independent primary-care records. Among 16,159 people originally approached, 8,197 answered the baseline survey and consented to record review; later respondent totals were 5,121 and 3,311 at the three- and six-year follow-ups. Those numbers reveal substantial attrition. They cannot alone say whether an exposure-outcome association was altered.

Lacey et al. (2013) compared the resulting cohort with an independent source of routinely recorded health information. Their studied associations remained similar in the two sets of records, despite changes in the survey respondent group. Baseline responders had consulted more frequently about osteoarthritis and joint pain, but the later follow-up responders showed little evidence of additional selectivity relative to the comparison population. This finding applies to the investigated older population and outcomes.

Missing values can also determine who enters an otherwise complete-case analysis. Vandenbroucke et al. (2007) describe omissions in questionnaires, follow-up visits and routine clinical records. The authors of STROBE call for reporting the number of missing observations for each variable and the assumptions of statistical methods used to address them. The resulting analysis depends on its stated assumptions about missing observations, including the number of participants excluded at successive steps and the relationship of missingness to variables used to construct the estimate.

Survivorship and collider selection

Survival can decide who remains observable when an outcome is assessed late in life. In a 2008 smoking-dementia analysis coauthored by Alonso, the researchers suggested that censoring by death could underlie a reversal in estimates across cohorts enrolled at different ages. It was a possible explanation for the pattern, not an experimental demonstration that survival caused the reversal. Estimates from survivors require interpretation in relation to those who were no longer eligible to contribute observations.

A collider is a variable affected by two other variables in a causal diagram. Lu, Gonsalves and Westreich (2024) distinguish selection based on restricting the sample to one level of a collider from adjustment for a collider inside a regression model. They propose reserving selection bias for actual sample restriction and classifying regression adjustment on a collider as overadjustment bias. That terminological distinction differs from the wider classification discussed by Hernán et al. (2004).

How researchers recognise and reduce selection bias

Recruitment counts permit comparisons between eligible people and those who actually contribute data. The STROBE explanation by Vandenbroucke et al. (2007) calls for reasons for nonparticipation and the number excluded at each analytical stage. Recording losses does not recover the missing outcomes. It identifies which observations disappeared and which assumptions remain necessary for analysis.

Recruitment records and allocation concealment

Clinical trials face a specific form of selection before intervention groups are compared. Random assignment aims to make group membership unpredictable; Odgaard-Jensen et al. (2011) distinguish it from the concealment needed to prevent investigators anticipating an assignment. A sequence that can be guessed may allow enrolment to depend on the next allocation. Chance differences can still occur between properly randomised groups.

The 2011 Cochrane review by Odgaard-Jensen and colleagues assembled 18 studies that compared random with nonrandom allocation or adequate with inadequate or unclear concealment. Five of the studies comparing concealment quality found larger estimated treatment effects with inadequate concealment, whereas the other four found no statistically significant differences. The reviewers considered the size and even direction of the resulting selection bias generally unpredictable.

Wang and colleagues (2024) re-examined features of trials through meta-epidemiological comparisons. Their synthesis associated inadequate allocation concealment with an effect-estimate ratio of odds ratios of 0.92 (95% confidence interval 0.88–0.97), interpreted as probable overestimation of treatment benefit. That finding relates to trial conduct, not to how representative recruited participants are of every potential patient.

Retention, weighting and sensitivity analysis

Follow-up survey respondents can be compared with people whose healthcare records are still available independently of their questionnaire responses, as in the cohort analysis conducted by Lacey and colleagues (2013). Lacey et al. (2013) used primary-care consultation records as a comparison for their longitudinal cohort. The approach detected initial selectivity in joint-pain-related consultations while finding little additional distortion of the investigated associations through later attrition. External records are useful when the relevant information is available.

Weighting gives observations different influence in an estimate to address unequal participation. Van Alten et al. (2024) calculated inverse-probability weights using characteristics shared by UK Biobank and census data. Across the bivariate linear probability models they examined, the weights reduced average volunteer bias by 87%, while the effective sample size was 32% of the original sample. The improvement was assessed against specified census-based targets, not against every possible unmeasured selection mechanism.

Vandenbroucke et al. (2007) also discuss analysis of missing values under explicit missing-data assumptions. The missing-at-random assumption is one example that authors are expected to state when using imputation. Reporting the assumption makes the dependence of a correction visible; it does not establish that missing respondents would have behaved like observed respondents.

What published studies reveal about the effects of selection bias

Published results demonstrate that distorted selection can change either the composition of a sample or the comparisons calculated from it. Fry et al. (2017) quantified how UK Biobank volunteers differed from the wider public, while van Alten et al. (2024) evaluated how weighting altered selected associations. Trial reviews address predictable assignment and allocation concealment. Follow-up studies instead examine the people who remain observable after enrolment.

Comparisons of clinical trial estimates

The 2011 Cochrane review found inconsistent differences. Odgaard-Jensen and colleagues (2011) reported that certain comparisons found larger treatment effects in trials with inadequate allocation concealment, while other comparisons did not detect statistically significant differences between the methods assessed. Information about randomisation and allocation concealment can identify potential systematic differences between treatment groups, but the inconsistent findings across methodological studies do not provide a universal adjustment factor that can be applied to each trial estimate.

Wang et al. (2024) synthesised forty-one meta-epidemiological studies, including 34 using between-trial comparisons and 7 using within-trial comparisons. Inadequate random sequence generation had a ratio of odds ratios of 0.94 (95% confidence interval 0.90–0.97), while inadequate concealment had a ratio of 0.92 (95% confidence interval 0.88–0.97). Wang and colleagues interpreted both comparisons as moderate-certainty evidence that inadequate random sequence generation and allocation concealment probably overestimated treatment effects, while keeping their estimates specific to those assessed methodological features.

Measured findings from observational studies

UK Biobank provides contrasting evidence. Fry and colleagues (2017) found marked differences in participant characteristics and disease rates relative to the general population. At ages 70–74, all-cause mortality rates were 46.2% lower in men and 55.5% lower in women than the comparison population; total cancer incidence rates were 11.8% and 18.1% lower, respectively. These were cohort-to-population comparisons of rates, not estimated causal effects of participation.

In van Alten et al.'s 2024 comparison, volunteer selection affected measured associations, sometimes reversing their direction. The reweighted results approached the census-based estimates for the associations examined. Lacey et al. (2013) reached a different result for follow-up attrition in their older-adult cohort, where the studied longitudinal associations showed little additional bias. The comparisons concerned different stages and groups: van Alten and colleagues examined volunteer recruitment into UK Biobank, while Lacey and colleagues investigated follow-up losses and recorded outcomes in an older-adult cohort.

Selected research findings

Study

Population or synthesis

Observed contrast

Scope of inference

Fry et al., 2017

UK Biobank recruitment

503,317 participants; 5.45% participation

Nonrepresentative volunteer sample.

Odgaard-Jensen et al., 2011

18 methodological studies

Five studies favoured larger effects with inadequate allocation concealment; four did not find significant differences

Trial estimates vary by allocation procedures.

Lacey et al., 2013

Older-adult cohort and primary-care records

Adjusted hazard ratios 1.40 and 1.32 in the compared populations

Similar estimates for this cohort association.

Wang et al., 2024

Forty-one meta-epidemiological studies

Ratio of odds ratios 0.92 for inadequate concealment

Probable overestimation of effects.

van Alten et al., 2024

UK Biobank and census comparison

87% average bias reduction with weights; effective sample size 32%

Correction for examined volunteer-related associations.

What is proven about selection bias and what is not

Selection mechanisms can distort the population represented by a sample and the relationships calculated within it. Hernán et al. (2004) describe the causal structure of selection in case-control and cohort research, while Fry et al. (2017) document systematic differences between volunteers and the population from which they came. Van Alten et al. (2024) documented changes in the magnitude and sometimes direction of associations under volunteer selection.

Selection bias depends on who is absent and why. A large sample cannot establish that its estimates are free from selective participation.

Distortion depends on the variable. Lacey and colleagues (2013) found that substantial cohort attrition did not introduce major additional bias into the measured longitudinal associations. Van Alten and colleagues (2024) found severe volunteer bias in selected UK Biobank associations, with some estimates reversing direction. A single participation or follow-up percentage does not reconcile those findings.

Statistical correction has identifiable boundaries. Census-based weighting improved the associations assessed by van Alten et al. (2024), although the effective sample size fell under the resulting weights. STROBE calls for explicit assumptions in missing-data analysis and transparent counts of exclusions, while Odgaard-Jensen et al. (2011) found that the direction of trial selection bias cannot generally be anticipated. An adjustment remains dependent on what was recorded and why data were missing.

Even the definition has a debated edge. Lu et al. (2024) treat regression adjustment for a collider as overadjustment, whereas Hernán et al. (2004) use a broader causal classification of selection. The practical distinction is whether observations were removed from the analysed sample or whether the model conditioned on a variable already present. The direction of bias in an individual study therefore depends on its particular selection mechanism.

Frequently asked questions

Is selection bias the same as sampling bias?

Sampling bias generally concerns how people enter a sample. Selection bias also includes who remains observable and which records are included in an analysis. Hernán and colleagues (2004) include inappropriate control selection and informative censoring in their account, so the term extends beyond the initial recruitment process.

Can a larger sample eliminate selection bias?

No. Size does not eliminate selective participation. Van Alten and colleagues (2024) compared UK Biobank volunteer associations with census-based reference estimates and found that selective participation changed some associations enough to reverse the direction of the measured relationship. Precise estimates can still be unrepresentative.

How does selection bias differ from confounding?

Confounding concerns shared causes of exposure and outcome. Hernán and colleagues (2004) describe selection bias through conditioning on a common effect of exposure-related and outcome-related factors, producing a different causal structure from confounding. Both mechanisms can produce misleading associations, but they involve different causal pathways and therefore require different assumptions for adjustment.

Can randomisation prevent selection bias?

Concealed allocation limits predictable assignment. In their 2011 Cochrane review, Odgaard-Jensen and colleagues found that inadequate concealment sometimes coincided with larger apparent treatment effects, although neither the direction nor the size of bias was consistent across studies. Randomisation does not by itself remove volunteer selection before enrolment or missing outcomes after assignment.

Can selection bias be corrected after data collection?

Correction depends on information about selection. In a 2024 comparison, van Alten and colleagues used census-derived inverse-probability weights and reduced the average volunteer bias in the associations they assessed, while the effective sample size decreased. Reporting missing observations and analytical assumptions remains necessary, as Vandenbroucke et al. (2007) explain. Unmeasured mechanisms remain a limit.

Sources

  1. Hernán MA, Hernández-Díaz S, Robins JM. A structural approach to selection bias. Epidemiology. 2004;15(5):615–625. DOI 10.1097/01.ede.0000135174.63482.43.
  2. Odgaard-Jensen J, Vist GE, Timmer A, et al. Randomisation to protect against selection bias in healthcare trials. Cochrane Database of Systematic Reviews. 2011;(4):MR000012. DOI 10.1002/14651858.MR000012.pub3.
  3. Hernán MA, Alonso A, Logroscino G. Cigarette smoking and dementia: potential selection bias in the elderly. Epidemiology. 2008;19(3):448–450. DOI 10.1097/EDE.0b013e31816bbe14.
  4. Fry A, Littlejohns TJ, Sudlow C, et al. Comparison of sociodemographic and health-related characteristics of UK Biobank participants with those of the general population. American Journal of Epidemiology. 2017;186(9):1026–1034. DOI 10.1093/aje/kwx246.
  5. van Alten S, Domingue BW, Faul J, Galama T, Marees AT. Reweighting UK Biobank corrects for pervasive selection bias due to volunteering. International Journal of Epidemiology. 2024;53(3):dyae054. DOI 10.1093/ije/dyae054.
  6. Vandenbroucke JP, von Elm E, Altman DG, et al. Strengthening the Reporting of Observational Studies in Epidemiology (STROBE): Explanation and Elaboration. PLOS Medicine. 2007;4(10):e297. DOI 10.1371/journal.pmed.0040297.
  7. Lacey RJ, Jordan KP, Croft PR. Does attrition during follow-up of a population cohort study inevitably lead to biased estimates of health status? PLOS ONE. 2013;8(12):e83948. DOI 10.1371/journal.pone.0083948.
  8. Wang Y, Parpia S, Couban R, et al. Compelling evidence from meta-epidemiological studies demonstrates overestimation of effects in randomized trials that fail to optimize randomization and blind patients and outcome assessors. Journal of Clinical Epidemiology. 2024;165:111211. DOI 10.1016/j.jclinepi.2023.11.001.
  9. Lu H, Gonsalves GS, Westreich D. Selection bias requires selection: the case of collider stratification bias. American Journal of Epidemiology. 2024;193(3):407–409. DOI 10.1093/aje/kwad213.
Eleanor Hayes

Eleanor Hayes — author

Eleanor Hayes writes with an editorial focus on research methodology and study design, including experimental and observational studies, controls, sampling, measurement and the methodological choices that shape scientific conclusions. At Cabdirect, Eleanor cov...

Related