Related Experiment Video
Updated: Jun 22, 2025

Development of an Individual-Tree Basal Area Increment Model using a Linear Mixed-Effects Approach
Published on: July 3, 2020
Parametric g-formula for Testing Time-Varying Causal Effects: What It Is, Why It Matters, and How to Implement It in
Wen Wei Loh1,2, Dongning Ren3, Stephen G West4
1Department of Methodology and Statistics, Faculty of Health, Medicine and Life Sciences (FHML), Maastricht University, Maastricht, The Netherlands.
The parametric g-formula addresses complex confounding in longitudinal psychological studies. This method helps researchers accurately infer causal effects from time-varying treatments using statistical models.
Area of Science:
- Psychology
- Causal Inference
- Longitudinal Data Analysis
Background:
- Longitudinal designs are crucial for examining causal effects over time.
- Treatment-dependent confounding complicates causal inference with time-varying treatments.
Purpose of the Study:
- Introduce psychologists to the parametric g-formula for causal inference.
- Demonstrate the g-formula's utility in handling treatment-dependent confounding.
- Provide an accessible tool for psychological research using longitudinal data.
Main Methods:
- The parametric g-formula estimates the joint distribution of post-treatment variables.
- Statistical models are specified using standard multiple linear regression.
- Implementation is demonstrated using the lavaan R package for structural equation modeling.
Main Results:
- The parametric g-formula effectively handles treatment-dependent confounding.
- The method is conceptually intuitive and easy to implement for psychologists.
- It enables the estimation of marginal structural models for time-varying treatment effects.
Conclusions:
- The parametric g-formula offers a robust solution for causal inference in psychological research.
- This tutorial equips researchers with a valuable analytic tool for longitudinal data.
- It facilitates a deeper understanding of causal relationships in psychological phenomena.
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...
Statistical Methods to Analyze Parametric Data: Student t-Test and Goodness-of-Fit Test
The Student's t-test is a statistical test that examines if there is a statistically significant difference between the means of two groups. This test is instrumental when dealing with...
Statistical Inference Techniques in Hypothesis Testing: Parametric Versus Nonparametric Data
Parametric statistics, as the name suggests, assumes that data follow a specific distribution, often a normal distribution. This assumption enables robust hypothesis testing and estimation. Parametric methods, like the Student's t-test or Goodness-of-fit test, are frequently employed in biostatistics due to their robustness. For instance,...
Friedman Two-way Analysis of Variance by Ranks
Comparing the Survival Analysis of Two or More Groups

