Two Pipes That Look the Same From Outside

October 22, 2026 · Part 12 of 20

Opening Scene

Two pipes might look identical from the outside — same material, same diameter, same age — while one was specifically chosen for a repair record because it had already failed once, and the other was never selected for anything because it never caused a problem. Comparing these two pipes’ failure rates going forward would be comparing a group pre-selected for past trouble against a group that was never selected at all — a distorted comparison baked in before any actual analysis begins.

In Plain English

Selection bias occurs when the process that determines which subjects end up in a dataset, or in a treatment group, is itself related to the outcome being studied — making a comparison systematically misleading regardless of how sophisticated the subsequent statistical analysis is. Unlike confounding (Article 4), which involves a third variable affecting two others, selection bias distorts things at the level of who gets observed or included in the first place.

The Old Way

Before this had formal statistical language, selection bias produced misleading conclusions across many fields:

  • Surviving World War II aircraft were initially examined for reinforcement based on where returning planes had bullet holes, until statistician Abraham Wald pointed out that the planes that didn’t return were the ones that actually revealed where reinforcement was needed — a now-famous illustration of exactly this bias.
  • A customer satisfaction survey drawing only from customers motivated enough to respond, systematically excluding the most dissatisfied (or most indifferent) customers from the data entirely.
  • A study of successful entrepreneurs drawing only from those who succeeded, systematically excluding the far larger group who tried similar approaches and failed.

In each case, the very process of ending up in the sample was related to the outcome being studied, distorting the comparison before any formal analysis began.

What’s Changing (and Why AI Is the Reason)

  1. Growing awareness of selection bias’s many forms — survivorship bias, self-selection bias, non-response bias — has made it a standard, explicit consideration in causal analysis, rather than a subtle trap discovered only in hindsight, as it was for the WWII aircraft study.
  2. Statistical methods like Heckman correction have been developed specifically to model and adjust for known selection processes, though they require real assumptions about exactly how selection occurred.
  3. As AI systems increasingly train on historical, selectively-observed data — data that itself reflects past selection decisions — selection bias has become a directly relevant concern for machine learning, not just traditional statistical analysis.

The Metaphor, Fully Extended

Behind the WallSelection Bias Concept
Two pipes that look identical from outside but were selected differentlyTwo groups that look comparable but were selected into the data differently
A pipe selected for a repair record specifically because it had already failedA subject selected into a dataset specifically because of the outcome being studied
A distorted comparison baked in before any inspection even beginsA distorted comparison baked in before any statistical analysis even begins
Recognizing which pipes never made it into the repair records at allRecognizing which subjects never made it into the dataset at all

For Beginners: What to Actually Do

  • Study the WWII aircraft survivorship bias example closely — it’s one of the clearest, most widely taught illustrations of this exact problem.
  • Practice asking, for any dataset, “how did subjects end up in this data, and is that process related to the outcome I’m studying?”
  • Recognize selection bias as a distinct problem from confounding — it distorts who’s observed, not just what’s measured.

For Practitioners and Leaders: The Deeper Layer

  • Require an explicit account of how any dataset was assembled before trusting causal conclusions drawn from it.
  • Invest in understanding your own organization’s data collection processes for hidden selection effects — survey non-response, self-selected user segments, and similar patterns are extremely common.
  • Recognize that AI systems trained on historical, selectively-observed data can inherit and perpetuate these same biases without any explicit selection step being visible in the model itself.

Quick Recap

  • Selection bias occurs when the process determining who ends up in a dataset is itself related to the outcome being studied.
  • The WWII aircraft survivorship bias example remains one of the clearest illustrations of this problem.
  • It’s a distinct issue from confounding, distorting who’s observed rather than just what’s measured.
  • AI systems trained on historical, selectively-observed data can inherit this same distortion.

Where This Fits in the Series

Article 12 covered a distortion baked in before analysis even begins. Article 13 covers a related trap: mistaking which direction the pipe is actually flowing.