Negative control-calibrated difference-in-difference analyses: addressing unmeasured confounding in RWD with application to racial/ethnic differences

Dazheng Zhang, Bingyu Zhang, Huiyuan Wang, Yiwen Lu, Charles J. Wolock, Wenjie Hu, Linbo Wang, George Hripcsak, Yong ChenNpj Digit. Medicine 2025

Abstract

The Negative Control-calibrated Difference-in-Difference (NC-DiD) framework provides a robust solution for correcting systematic bias in observational studies where the "parallel trends" assumption is violated. By leveraging negative control outcomes from both before and after an intervention, the method significantly improves the accuracy of causal inferences drawn from complex real-world health data (RWD).

Introduction

The Difference-in-Differences (DiD) method is a cornerstone of causal inference, used to estimate the impact of interventions—such as new healthcare policies or disease outbreaks—by comparing temporal changes between treated and control groups. However, the validity of DiD hinges on the "parallel trends" assumption: the premise that, in the absence of the intervention, both groups would have followed identical trajectories.

In Real-World Data (RWD), such as Electronic Health Records (EHRs), this assumption is frequently undermined by time-varying unmeasured confounders. These hidden factors evolve differently across groups, leading to biased causal estimates. While diagnostic tests can identify these violations, few existing methods offer a reliable mechanism to correct the resulting bias, particularly when the control outcomes used for calibration are themselves imperfect.

The NC-DiD Framework

To address these challenges, we propose a three-step calibration process termed NC-DiD. This framework utilizes Negative Control Outcomes (NCOs)—outcomes known to be unaffected by the intervention (e.g., bone fractures in a study of respiratory viruses)—to quantify and subtract systematic bias.

Conceptual diagram of the NC-DiD calibration process, illustrating the estimation of systematic bias using negative control outcomes to adjust the treatment effect.

The process involves:

  1. Initial Estimation: Conducting a standard DiD analysis to obtain a raw intervention effect.
  2. Bias Detection: Applying the same DiD analysis to multiple NCOs. Any measured "effect" on these controls serves as a proxy for systematic bias.
  3. Calibration: Subtracting the estimated bias from the raw estimate to yield a "calibrated" treatment effect.

A key innovation of NC-DiD is its use of NCOs from both pre- and post-intervention periods and a median-based calibration approach. This makes the model resilient even if nearly half of the chosen NCOs are "invalid" (i.e., actually affected by the treatment), a common scenario in complex clinical environments.

Validation and Real-World Application

The framework was validated using synthetic datasets and a large-scale RWD study of pediatric COVID-19. The clinical study utilized a "mimic" dataset of 15,373 pediatric patients (under age 21) across eight major U.S. children’s hospitals to investigate racial and ethnic disparities in Post-Acute Sequelae of SARS-CoV-2 (PASC), or Long COVID.

Geographic distribution of the eight U.S. children's hospitals (a) and the risk ratio differences for AAPI, Hispanic, and NHB populations pre- and post-infection (b).

Key Findings

  • Bias Reduction: In simulations, NC-DiD reduced relative bias from 53.0% to just 2.6%.
  • Robustness: The median-based approach maintained accuracy even with imperfect negative controls, whereas traditional mean-based methods failed.
  • Clinical Insights: The study revealed that minority pediatric populations faced significantly higher risks of long-term health complications than previously estimated. Specifically, Non-Hispanic Black (NHB) patients had a 1.14x higher risk for PASC-related visits, and Hispanic patients showed a 1.19x higher risk for "systematic" PASC (e.g., heart or kidney issues) compared to Non-Hispanic White (NHW) patients.

Conclusion

The NC-DiD framework represents a significant advancement in the analysis of observational health data. By acknowledging and correcting for the "Parallel Trend Myth," it allows researchers to uncover hidden health disparities that traditional models might obscure. Future work will focus on addressing NCO correlation and potential misclassification errors in EHR data to further refine the precision of these causal estimates.

Summary updated

BibTeX
@article{zhang2025negative,
  author = {Dazheng Zhang and Bingyu Zhang and Huiyuan Wang and Yiwen Lu and Charles J. Wolock and Wenjie Hu and Linbo Wang and George Hripcsak and Yong Chen},
  title = {{Negative control-calibrated difference-in-difference analyses: addressing unmeasured confounding in RWD with application to racial/ethnic differences}},
  journal = {Npj Digit. Medicine},
  year = {2025},
  doi = {10.1038/s41746-025-01821-w},
}
Figure