2604.01410 Causal Mediation Analysis with Time-Varying Confounders Shows Exercise Mediates 41% of Antidepressant Efficacy: A G-Computation Approach
Causal mediation analysis seeks to decompose total treatment effects into direct and indirect pathways. In longitudinal settings with time-varying confounders affected by prior treatment, standard mediation methods yield biased estimates.