A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Selection Bias

College Depth 117 in the knowledge graph ☐ I know this ☆ Set as goal
69topics build on this
587prerequisites beneath it
See this on the map →
EndogeneityPotential Outcomes and the Rubin Causal Model+2 more→→Difference-in-DifferencesInstrumental Variables
selection-bias self-selection observational-data non-random-treatment

Core Idea

Selection bias occurs when the units who receive treatment systematically differ from controls in ways that also affect the outcome, making the treated group a non-representative counterfactual for the untreated. A classic example: estimating returns to job training by comparing trainees to non-trainees, when those who chose to train were already more motivated. Selection on observables (confounding) can be addressed by controlling for all relevant characteristics; selection on unobservables requires an instrument, a discontinuity, or a differencing strategy. Heckman's selection model handles selection into a sample from a latent participation equation.

Common Misconceptions

Explainer

From the potential outcomes framework, you know that the causal effect of treatment for individual i is Yᵢ(1) − Yᵢ(0) — the difference between what would happen with and without treatment. The fundamental problem is that we observe only one of these potential outcomes. To estimate the average treatment effect (ATE) or the average treatment effect on the treated (ATT), we need a valid comparison group that stands in for the unobserved counterfactual. Selection bias is what goes wrong when that comparison group is systematically different in ways that also affect outcomes.

A canonical example: you want to estimate the wage return to a job training program. You compare wages of program completers to non-participants. If those who enrolled were already more motivated, more skilled, or more attached to the labor market — traits that raise wages independently of training — then the comparison group (non-participants) has lower baseline potential wages, even in the absence of training. The naive estimate E[Y|D=1] − E[Y|D=0] overstates the treatment effect because it conflates the effect of training with the pre-existing advantage of trainees. Formally: the naive estimator equals ATT + selection bias, where selection bias = E[Y(0)|D=1] − E[Y(0)|D=0]. If those who select into treatment would have earned more anyway (positive selection), the naive estimator is upward biased.

The endogeneity you studied earlier is the formal statement of the same problem: the treatment variable D is correlated with the error term, which here represents unobservable determinants of the outcome. Selection on observables means that conditional on measured covariates X, treatment assignment is independent of potential outcomes — the selection is fully explained by X. In this case, controlling for X (via regression, matching, or inverse probability weighting) recovers an unbiased estimate. The key assumption is that you've measured all the relevant confounders; if any important confounder is omitted, bias remains.

Selection on unobservables is the harder case: the treated and control groups differ in unmeasured ways. No amount of controlling for observed covariates fixes this. Matching balances the distribution of X between treated and control, but it cannot create balance on unobserved variables. This is why causal inference requires quasi-experimental strategies — instrumental variables exploit an external source of variation in treatment assignment that is uncorrelated with outcomes except through treatment; difference-in-differences removes fixed group-level confounders by comparing changes over time; regression discontinuity exploits threshold-based assignment to approximate random assignment near the cutoff. Each strategy targets a specific type of selection story and requires its own identifying assumption about what is and isn't correlated with potential outcomes.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Probability Density Functions and Continuous Distributions → Cumulative Distribution Functions → Continuous Random Variables → Probability Density Functions → Expected Value → Weak Law of Large Numbers → Probability Axioms and Rules → Conditional Probability → Independence of Events → Sampling Distributions → Standard Error of Estimators → Hypothesis Testing: Framework and Logic → P-values and Statistical Significance → Effect Size and Practical Significance → Hypothesis Testing: Framework and Logic → Z-Tests and T-Tests for Means → One-Sample Z-Test for Means → One-Sample and Two-Sample T-Tests → Inference in Linear Regression → Prediction Intervals in Regression → Linear Regression Basics → Residuals and Goodness of Fit (R²) → Simple (Bivariate) OLS Regression → Classical OLS Assumptions (Gauss-Markov) → Multiple Regression → Interpreting Regression Coefficients → Hypothesis Testing in Regression → F-Test and Joint Significance → R-Squared and Model Fit → Omitted Variable Bias → Causal Inference and the Identification Problem → Potential Outcomes and the Rubin Causal Model → Selection Bias

Longest path: 118 steps · 587 total prerequisite topics

Prerequisites (4)

Leads To (2)