AI GLOSSARY · AI CONCEPTS

Selection bias

Markdown version

Definition

Selection bias occurs when the process determining which cases are observed creates systematic differences between the observed data and relevant unobserved cases.

In plain language

Selection bias can make conclusions misleading when included cases differ systematically from excluded cases. In AI, it matters when training or evaluation data do not adequately represent the population on which a model or agent will operate.

Technical definition

Selection bias arises from an observation or inclusion process that systematically separates observed from unobserved cases. It includes problems involving coverage, sampling and differential nonresponse. Statistical adjustment may reduce some risks, but its effectiveness depends on identifying and measuring relevant covariates.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Skill by Skill Almanac · Illustrative, not executed

    llm-eval-test-sets 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    Review an agent evaluation set for its stated decision, coverage tags, grader requirements and split leakage, then record which intended users or situations the cases omit.
    Why it exercises the concept
    Documenting case coverage makes selection questions concrete. This skill checks case structure and declared coverage; it does not verify population representativeness, estimate selection probabilities or repair selection bias.

How it shows up when you use agents

Selection bias occurs when the process deciding which cases enter the data creates systematic differences between observed and unobserved cases. A model can fit its available sample well yet behave differently for the population where an agent is actually used.

Consider an explicitly illustrative feedback study for a customer-service agent. The target population is all customers who completed a session, but the survey appears only in the desktop interface and answering is optional. Mobile customers have no opportunity to respond, creating a coverage problem. Among desktop customers, people with unusually strong experiences may respond more often, creating differential nonresponse. The resulting ratings may not describe all completed sessions, even if thousands of responses are collected.

The useful action is to map four things before drawing conclusions: the target population, the available sampling frame, the selected sample and the cases that ultimately responded or received labels. Compare known characteristics across these stages, such as device, task type or time period. If important groups have different opportunities or propensities to appear, state that limitation and test the system on data covering the intended population where possible.

Common confusions

Sampling bias can be a form of selection bias, but the terms are not universal substitutes in every statistical context. Selection bias is the broader problem created by an inclusion or observation process. Sampling bias focuses on how cases are selected from a target group. Coverage and nonresponse can introduce related selection problems through different mechanisms.

Convenience sampling is one possible source: readily available cases are selected without known random inclusion probabilities. It is not the only source of selection bias, and a non-probability sample is not repaired merely by being large.

Adjustment or matching may reduce differences on measured characteristics. It cannot automatically correct differences involving omitted, unavailable or poor-quality variables. The relevant question is therefore not simply whether data were adjusted, but which variables controlled selection and whether they adequately capture the differences connected to the outcome.

Selection bias also differs from model error caused by a weak algorithm. Changing the model alone does not repair missing representation or establish performance for groups absent from the collected data. Examine data inclusion before attributing a performance gap solely to model architecture.

Terms that mention Selection bias

1 terms mention this one

More in AI concepts

Next steps

  1. llm-eval-test-sets A skill that exercises it.
  2. Convenience sampling Related term.
  3. Training data Related term.
  4. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.

Review record

Last verified

Drafted by OpenAI Codex (configured gpt-5.6-sol); sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .

Change log (3)
  • : Independent automated source/example and simulated-reader review closed. Cached broad US definition-query estimate; not AI-exclusive or promised traffic. Final runtime gate recorded separately; publication disabled.
  • : Private sourced draft; independent factual, reader and runtime gates pending. Cached broad US demand is not AI-exclusive.
  • : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.