Causal Mediation Analysis for Panel Data with Double/Debiased Machine Learning
Peikai Wu, Zhiguo Xiao
Key points
From the paper's conclusion- We develop a double/debiased machine learning framework for causal mediation analysis in panel data with two-way fixed effects.
Abstract
We develop a double/debiased machine learning framework for causal mediation analysis in panel data with two-way fixed effects. Binary, multivalued, or continuous treatments and continuous mediators affect outcomes via histories. We formulate partially linear models for potential outcomes and mediators, define history-specific direct, indirect, and total effects, and identify them under a sequential conditional independence assumption given unit effects, allowing arbitrary time-invariant confounding. Estimation combines first-differencing, cross-fitting sample splitting that removes period effects, and machine-learned confounding functions within a GMM framework whose score is Neyman orthogonal in all nuisance components. We establish asymptotic normality of the estimators for the structural parameters and causal estimands and provide consistent variance estimators. Simulations show small bias and near-nominal coverage under nonlinear confounding, whereas a DML-free benchmark fails severely for indirect effects. An application to U.S. county data illustrates that a stable total effect can conceal substantial sensitivity in its direct-indirect decomposition.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Double Machine Learning for Panel Data: Identification, Specification, and a Bank Regulation EffectarXiv · 2026
- Semiparametric Inference in Panel Data with Interactive and High-dimensional ConfoundingarXiv · 2026
- What, Why, and How: An Empiricist’s Guide to Double/Debiased Machine LearningInformation Systems Research · 2025
- Inference in High-Dimensional Linear Mediation ModelsarXiv · 2026
- Double robust, flexible adjustment methods for causal inference: An overview and an evaluationSocial Science Research · 2026
- Causal inference in panel data with a continuous treatmentJournal of Causal Inference · 2026