Related Experiment Video
Updated: Mar 10, 2026

Problem-Solving Before Instruction PS-I: A Protocol for Assessment and Intervention in Students with Different Abilities
Published on: September 11, 2021
Parametric Mediational g-Formula Approach to Mediation Analysis with Time-varying Exposures, Mediators, and
Sheng-Hsuan Lin1, Jessica Young, Roger Logan
1From the aDepartment of Epidemiology, Harvard School of Public Health, Boston, MA; and bDepartment of Biostatistics, Harvard School of Public Health, Boston, MA.
Abstract:
The assessment of direct and indirect effects with time-varying mediators and confounders is a common but challenging problem, and standard mediation analysis approaches are generally not applicable in this context. The mediational g-formula was recently proposed to address this problem, paired with a semiparametric estimation approach to evaluate longitudinal mediation effects empirically. In this article, we develop a parametric estimation approach to the mediational g-formula, including a feasible algorithm implemented in a freely available SAS macro. In the Framingham Heart Study data, we apply this method to estimate the interventional analogues of natural direct and indirect effects of smoking behaviors sustained over a 10-year period on blood pressure when considering weight change as a time-varying mediator. Compared with not smoking, smoking 20 cigarettes per day for 10 years was estimated to increase blood pressure by 1.2 mm Hg (95% CI: -0.7, 2.7). The direct effect was estimated to increase blood pressure by 1.5 mm Hg (95% CI: -0.3, 2.9), and the indirect effect was -0.3 mm Hg (95% CI: -0.5, -0.1), which is negative because smoking which is associated with lower weight is associated in turn with lower blood pressure. These results provide evidence that weight change in fact partially conceals the detrimental effects of cigarette smoking on blood pressure. Our study represents, to our knowledge, the first application of the parametric mediational g-formula in an epidemiologic cohort study (see video abstract at, http://links.lww.com/EDE/B159.).
Related Concept Videos
Parametric Survival Analysis: Weibull and Exponential Methods
Weibull Distribution
The Weibull distribution is a flexible model used in parametric survival analysis. It can handle both increasing and decreasing hazard rates, depending on its shape parameter...
Statistical Methods to Analyze Parametric Data: ANOVA
One-way ANOVA is applied when a single independent variable or factor is scrutinized. It compares...
Comparing the Survival Analysis of Two or More Groups
Strategies for Assessing and Addressing Confounding
Confounding can be addressed at both the design phase of a study and through analytical methods after data...
Pharmacodynamic Models: Additive and Proportional Drug Effect Model
Drug Concentration Versus Time Correlation
Two pivotal parameters are the minimum effective concentration (MEC) and the minimum toxic concentration (MTC). The MEC is the...

