Skip to main content
QUICK REVIEW

[Paper Review] A Framework for Understanding Selection Bias in Real-World Healthcare Data

Ritoban Kundu, Xu Shi|arXiv (Cornell University)|Apr 10, 2023
Advanced Causal Inference TechniquesMathematics3 citations
TL;DR

This paper proposes a directed acyclic graph (DAG)-based framework to diagnose and correct selection bias in real-world healthcare data, particularly from electronic health records (EHRs) and biobanks. It introduces four inverse probability weighting (IPW) methods with variance formulas, demonstrating through simulation and a real-world example from the Michigan Genomics Initiative that these methods can effectively reduce selection bias in estimating associations—such as between biological sex and cancer—when compared to naive analyses and population-based SEER estimates.

ABSTRACT

Using administrative patient-care data such as Electronic Health Records (EHR) and medical/ pharmaceutical claims for population-based scientific research has become increasingly common. With vast sample sizes leading to very small standard errors, researchers need to pay more attention to potential biases in the estimates of association parameters of interest, specifically to biases that do not diminish with increasing sample size. Of these multiple sources of biases, in this paper, we focus on understanding selection bias. We present an analytic framework using directed acyclic graphs for guiding applied researchers to dissect how different sources of selection bias may affect estimates of the association between a binary outcome and an exposure (continuous or categorical) of interest. We consider four easy-to-implement weighting approaches to reduce selection bias with accompanying variance formulae. We demonstrate through a simulation study when they can rescue us in practice with analysis of real world data. We compare these methods using a data example where our goal is to estimate the well-known association of cancer and biological sex, using EHR from a longitudinal biorepository at the University of Michigan Healthcare system. We provide annotated R codes to implement these weighted methods with associated inference.

Motivation & Objective

  • To address the growing challenge of selection bias in large-scale real-world healthcare data, especially in non-probability samples where selection probabilities are unknown.
  • To develop a practical, analytically grounded framework using directed acyclic graphs (DAGs) to diagnose and understand sources of selection bias in observational EHR studies.
  • To propose four implementable inverse probability weighting (IPW) strategies with accompanying variance estimation to reduce selection bias in association estimation.
  • To evaluate the performance of these methods through simulation studies and a real-world data example from the Michigan Genomics Initiative.
  • To provide annotated R code and inference tools to enable researchers to apply these methods in practice and improve the validity of downstream analyses.

Proposed method

  • Uses directed acyclic graphs (DAGs) to model and diagnose selection bias mechanisms in real-world data, particularly in non-probability samples.
  • Proposes four inverse probability weighting (IPW) approaches: (1) outcome-based weighting, (2) exposure-based weighting, (3) joint exposure-outcome weighting, and (4) post-stratification weighting.
  • Derives analytical variance formulae for each IPW method to support valid statistical inference and hypothesis testing.
  • Employs simulation studies to evaluate the bias-reduction performance of each method across diverse data-generating mechanisms.
  • Applies the methods to a real EHR dataset from the Michigan Genomics Initiative (MGI) to estimate the association between biological sex and cancer, comparing results to the SEER population-based estimate.
  • Provides open-source R code on GitHub to implement all four IPW methods with proper inference, including bootstrapping for variance estimation.

Experimental results

Research questions

  • RQ1How can selection bias in real-world healthcare data—particularly from EHRs and biobanks—be systematically diagnosed and understood using causal diagrams?
  • RQ2To what extent can four distinct inverse probability weighting (IPW) methods reduce selection bias in estimating the association between a binary outcome (e.g., cancer) and an exposure (e.g., biological sex)?
  • RQ3How do these IPW methods perform in simulation settings with varying degrees of selection mechanism complexity and model misspecification?
  • RQ4Can the proposed methods recover estimates closer to the true population-level association (e.g., SEER estimate) in a real-world EHR-based study?
  • RQ5What are the practical implications of ignoring selection bias in large, non-probability samples, and how can researchers implement bias-corrected inference in routine analyses?

Key findings

  • The simulation study shows that all four IPW methods reduce selection bias compared to naive analysis, with joint exposure-outcome weighting and post-stratification performing best under moderate to high selection bias.
  • In the MGI data example, the naive analysis overestimated the association between biological sex and cancer (OR = 1.89) compared to the SEER estimate (OR = 1.50), indicating significant selection bias.
  • The post-stratification IPW method produced an adjusted odds ratio of 1.53, closely aligning with the SEER estimate and demonstrating effective bias correction.
  • The joint exposure-outcome IPW method yielded an adjusted OR of 1.51, also showing strong agreement with the SEER reference, suggesting robustness under complex selection mechanisms.
  • Variance estimation via bootstrap provided consistent standard errors, supporting valid inference with the IPW methods.
  • The authors demonstrate that selection bias dominates mean squared error in large samples, reinforcing the need to prioritize bias reduction over variance minimization in big data healthcare research.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.