Bareinboim 2016 - Sample Selection Bias and Recoverability

Summary

Sample selection bias arises when units enter the data by a mechanism (indicator ) that depends on treatment, outcome or their causes. The paper shows when can be recovered from : simple cases (Fig. 4A/4B), the selection-backdoor criterion (Definition 4, Theorem 1) which jointly handles confounding and selection and needs an unbiased dataset on a subset of variables, and the clinical-trial pattern in which post-treatment variables enable generalization (Eq. 14) and the usual S-ignorability reweighting fails.

Overview

Confounding bias concerns treatment assignment; selection bias concerns data gathering. Example: in a study of a training program’s effect on earnings, high earners report more often, so inferences are biased. Selection bias challenges tasks in AI (refs 27, 28), statistics (29, 30), genetics, economics and epidemiology. In the paper’s notation, is a special indicator variable: means the unit entered the data pool, otherwise. Only (and possibly some population-level marginals) is accessible.

Main Content

Canonical models (Fig. 4A, 4B)

  • Fig. 4B: selection is treatment dependent (), and is d-separated from by , so . If and are unconfounded, , hence
  • Fig. 4A: selection is also outcome dependent (); is not separable from by and is not recoverable by any method without stronger assumptions (ref 39).
  • The odds ratio can be recovered from selection bias even in settings where the risk difference cannot (refs 37, 38, 41).

Confounding and selection together (Fig. 4C-F)

In realistic models, covariates (age, sex, socioeconomic status) affect sampling probabilities. In Fig. 4C, (sex) drives treatment and sampling, so both biases must be controlled. By the backdoor criterion, , , , and are all backdoor admissible, but only is appropriate for selection bias: in the adjustment formula (Eq. 8) with set , the prior must also be estimable, which is feasible only for the set independent of . The proper adjustment is

In Fig. 4D no set is both admissible and available from the biased dataset. In a big-data setting, however, additional datasets measuring population-level quantities over subsets of variables may exist (e.g. from census data, free of selection bias).

Definition 4 (Selection backdoor criterion, S-backdoor; ref 39)

Let be partitioned into , where contains all nondescendants of and the descendants of , and let be the graph including the sampling mechanism . satisfies the selection backdoor criterion if

  1. blocks all backdoor paths from to in ;
  2. and block all paths between and in , i.e. ;
  3. and block all paths between and in , i.e. ; and
  4. and are measured in the unbiased and biased studies, respectively.

Conditions 1 and 2 ensure is backdoor admissible; condition 3 separates the sampling mechanism from ; condition 4 guarantees is measured in both the population-level and biased data.

Theorem 1 (recovery under S-backdoor)

If is S-backdoor admissible, causal effects are identified by

where comes from the unbiased (population-level) data and from the biased data.

Worked check on Fig. 4D. Any of , , , satisfies conditions 1 and 2. The first three fail condition 3, but satisfies it because in . If census data measure and the biased data measure , condition 4 holds and

Sufficient, not necessary. In Fig. 4E, condition 1 is never satisfied, yet a do-calculus derivation recovers the experimental distribution even without an unbiased dataset (ref 40), via a ratio of selection-conditioned probabilities normalized by (the exact expression is printed on p. 7350 of the paper). Fig. 4E and 4F show structures with no S-admissible set requiring more involved recoverability strategies involving post-treatment variables.

The generalizability of clinical trials (Fig. 4F)

In trials, confounding need not be controlled (randomization), and the main task is to generalize from a nonrepresentative sample () to the population at large. Participation cannot be mandated, so volunteers who respond to financial and medical incentives may differ from the policy population. Assume (big-data context) that both the -biased experimental distribution and an unbiased observational distribution are available. The derivation transforms the target into those two datasets:

The first factor is estimable from the trial’s biased data; the second from the population-level dataset. (Reading of the derivation: the second line uses , i.e. and unconfounded in the Fig. 4F population; the third uses S-admissibility, , which lets the trial’s stratum-specific effect stand in for the population one. The paper prints the three lines without annotations.)

Post-treatment variables and S-ignorability (correction to a standard practice)

Previous analyses (refs 12, 42, 43) invariably relied on S-ignorability, , under which generalization is accomplished by reweighting (recalibrating) . Recently it was shown (ref 44) that S-ignorability is rarely satisfied by post-treatment variables and, even when it is, reweighting by does not give the correct result. Valid generalization needs only S-admissibility, , and that be identified; both are readable from the graph. The general reweighting estimator is Eq. 14 with replacing . (Footnote: “the language of ignorability is too coarse for handling posttreatment variables.“)

Summary Result 2 (Recoverability from selection bias)

The S-backdoor criterion is a sufficient condition for simultaneously controlling confounding and sampling selection bias. In clinical trials, causal effects can be recovered from selection bias via simple graphical conditions using both pretreatment and posttreatment variables. More powerful recoverability methods exist for special model classes (refs 39-41).

Examples

Numerical recovery (Fig. 4B-type design)

Population: randomized-like (no confounding), . Units enter the sample with probability depending on treatment only: if , if . Because selection depends only on , and the effect is recovered from the biased sample. If instead depends on (Fig. 4A), the naive estimate is biased.

import numpy as np
rng = np.random.default_rng(1); n = 2_000_000
x = rng.integers(0,2,n); y = rng.random(n) < .30+.20*x
s_trt = rng.random(n) < np.where(x==1, .8, .2)               # selection on X only (Fig. 4B)
s_out = rng.random(n) < np.where(y, .9, .3)                  # selection on Y (Fig. 4A)
eff = lambda m: y[m & (x==1)].mean() - y[m & (x==0)].mean()
print(round(eff(s_trt),3), round(eff(s_out),3))              # 0.200 (recovered) vs 0.188 (biased)

Output: 0.2 0.188. The second number (0.188 against a true 0.20) is distorted because outcome-dependent selection changes the within-arm outcome rates asymmetrically (here the sample over-represents converters, compressing the risk difference); the odds ratio would still be recoverable (refs 37, 38, 41).

Marketing reading

Platform conversion-lift or panel data are rarely random samples of the customer base: users who opt in to tracking, browse logged-in, or are reachable on the platform are selected (). If selection depends on exposure () only, the within-sample lift is recoverable (Fig. 4B). If selection depends on conversion (e.g. only converters are identifiable after a login or purchase), the effect is not recoverable without a population-level reference. S-backdoor says what to take from an unbiased source (e.g. a census-like first-party customer file measuring ) and what from the biased platform data. Cf. the observational-versus-RCT lift comparisons in Conversion Lift Studies on Ad Platforms and selection issues in MMM data noted in Chan Perry 2017 - Selection Bias in MMM (Ad Targeting, Seasonality, Funnels, Endogenous Controls).

Connections

See Also