Recovering from Selection Bias in Causal and Statistical Inference

Elias Bareinboim, Jin Tian, Judea Pearl

Abstract

Selection bias poses a significant threat to the validity of statistical and causal inferences, as samples are often non-representative of the target population. This paper introduces a formal graphical framework using Causal Bayesian Networks to identify conditions under which population-level distributions and causal effects can be recovered from biased data. We define "s-recoverability" and provide necessary and sufficient graphical criteria, including a generalized s-backdoor criterion, to enable unbiased estimation even when selection mechanisms are unknown.

Introduction

Selection bias occurs when units are preferentially excluded from a sample, making the observed data $P(V|S=1)$ unrepresentative of the true population distribution $P(V)$. Unlike confounding, which can often be addressed through randomization, selection bias is an external validity issue that persists even in randomized controlled trials. This work addresses three fundamental questions: whether $P(y|x)$ can be recovered using biased samples alone, whether it can be recovered with the help of external population data, and whether the causal effect $P(y|do(x))$ can be estimated from biased data.

Methodology: The Graphical Framework

The authors represent the selection process as a binary node $S$ in a causal Directed Acyclic Graph (DAG), where $S=1$ indicates inclusion in the sample. By applying d-separation to these augmented graphs, the paper establishes formal criteria for "s-recoverability"—the ability to uniquely determine a target distribution from biased data.

Figure 1: Basic causal structures illustrating selection bias mechanisms and the role of the selection node S.

Key methodological contributions include:

  • s-Recoverability: A formal definition of whether a target distribution can be uniquely determined from biased data given the assumptions in a causal graph.
  • The s-Backdoor Criterion: A generalization of Pearl’s classic backdoor criterion. It identifies which variables ($Z$) one must adjust for to block both confounding paths and spurious paths created by the selection process (often induced by conditioning on the $S$ node, a collider).
  • Recursive Algorithms: A procedure ($RC$) to determine recoverability when external population-level data is available for a subset of variables.

Key Theoretical Results

The paper provides several landmark theorems for recovering from bias:

  1. The "If and Only If" Condition: For the simplest case (no external data), $P(y|x)$ is recoverable if and only if $S$ is independent of $Y$ given $X$ ($S \perp \perp Y | X$). If this condition fails, recovery is impossible without further assumptions.
  2. Recovery via Mixture: When external data (like a census) is available for a set of variables $C$, the population distribution can be recovered by weighting the biased conditional probability: $P(y|x) = \sum_c P(y|x, c, S=1)P(c|x)$.
  3. Selection-Backdoor Adjustment: Theorem 5 provides a formula to estimate causal effects: $$P(y|do(x)) = \sum_z P(y|x, z, S=1)P(z)$$ This allows researchers to calculate the results of an intervention even if their experimental data was collected under preferential selection.
Figure 2: A complex causal graph demonstrating the application of the s-backdoor criterion and recursive recovery algorithms in non-trivial scenarios.

Discussion and Limitations

While this framework provides a rigorous foundation for handling selection bias non-parametrically, it relies on the researcher assuming the correct causal graph. If the graph structure is incorrect, the recovery formulas will remain biased. Furthermore, while the paper offers polynomial-time tests for recoverability, finding the optimal set of variables to measure in a general population remains a challenge for very large graphs. Future work aims to integrate these selection bias fixes with broader "transportability" problems, addressing how results move across varying environments and dataset shifts.

Summary updated

BibTeX
@inproceedings{bareinboim2014recovering,
  author = {Elias Bareinboim and Jin Tian and Judea Pearl},
  title = {{Recovering from Selection Bias in Causal and Statistical Inference}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2014},
  doi = {10.1609/aaai.v28i1.9074},
}
Figure