Propensity Score Landscape: Matching, Covariate Balance and Hidden Confounding
Propensity Score Landscape: Matching, Covariate Balance and Hidden Confounding.
Every propensity score analysis begins with the same uncomfortable fact: treatment was not assigned by a coin flip. In claims and electronic health record (EHR) cohorts, sicker or frailer patients are systematically more (or less) likely to receive a given therapy, and that same prognosis also predicts the outcome. Left unadjusted, the naive treated-vs-control comparison mixes the causal effect of treatment with the effect of whatever drove the prescribing decision in the first place.
Classical implementation uses multivariable logistic regression: logit(e(X)) = β₀ + β₁X₁ + ... + βₖXₖ, with covariates chosen a priori from clinical knowledge and the DAG built in the design phase. Modern pipelines increasingly substitute gradient-boosted trees (XGBoost, LightGBM) or ensemble "super learner" stacks, which capture nonlinearities and interactions the analyst did not pre-specify — empirically improving covariate balance by 15–30% in residual SMD terms versus a main-effects-only logistic model, at the cost of interpretability.
A mirrored histogram of the treated and control PS distributions is the standard visual diagnostic. The region of common support — the range of PS values where both arms have adequate density — defines which patients are even eligible for matching; the rest are structurally untreatable by any weighting or matching scheme and must be trimmed before proceeding, not forced into artificial comparisons.
Greedy nearest-neighbor matching processes treated patients (often in random or PS-ranked order) and assigns each the closest available control within a caliper, removing that control from the pool (matching without replacement) or allowing reuse (matching with replacement, which preserves more controls but requires cluster-robust variance to account for repeated use). It is fast and the default in most software (R MatchIt, SAS %OneToManyMTCH), but locally greedy choices can leave a globally worse set of pairs than necessary.
The standardized mean difference (SMD) expresses imbalance in units free of the covariate's original scale: SMD = (mean_treated − mean_control) / pooled_SD for continuous variables, or an analogous formula using proportions for binary covariates. Unlike a t-test p-value, SMD is not conflated with sample size, making it the correct metric for balance assessment in matched cohorts of varying size.
Rosenbaum bounds (Rosenbaum, 2002) ask: how large would an unmeasured confounder's effect on the odds of treatment assignment (Γ, gamma) need to be before it could account for the observed association, given perfect measured-covariate balance? Analyses commonly report the point at which significance is lost across a range Γ = 1.0 (no hidden bias) up to 2.0–3.0; a result that survives to Γ = 2.5 or beyond is considered robust, since an unmeasured confounder would need to more than double the odds of treatment to explain it away.
Propensity Score Landscape: Matching, Covariate Balance and Hidden Confounding.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install