A Tutorial on Causal Inference in Longitudinal Data With Time-Varying Confounding Using G-Estimation

被引:7
|
作者
Loh, Wen Wei [1 ]
Ren, Dongning [2 ,3 ]
机构
[1] Emory Univ, Dept Quantitat Theory & Methods, Atlanta, GA 30322 USA
[2] Emory Univ, Dept Psychol, Atlanta, GA USA
[3] Tilburg Univ, Dept Social Psychol, Tilburg, Netherlands
关键词
causal inference; doubly robust estimation; lavaan; posttreatment confounding; propensity scores; treatment-dependent confounding; treatment-induced confounding; DIRECTED ACYCLIC GRAPHS; R PACKAGE; SENSITIVITY; ADJUSTMENT; REGRESSION; MODELS; BIAS;
D O I
10.1177/25152459231174029
中图分类号
B84 [心理学];
学科分类号
04 ; 0402 ;
摘要
In psychological research, longitudinal study designs are often used to examine the effects of a naturally observed predictor (i.e., treatment) on an outcome over time. But causal inference of longitudinal data in the presence of time-varying confounding is notoriously challenging. In this tutorial, we introduce g-estimation, a well-established estimation strategy from the causal inference literature. G-estimation is a powerful analytic tool designed to handle time-varying confounding variables affected by treatment. We offer step-by-step guidance on implementing the g-estimation method using standard parametric regression functions familiar to psychological researchers and commonly available in statistical software. To facilitate hands-on usage, we provide software code at each step using the open-source statistical software R. All the R code presented in this tutorial are publicly available online.
引用
收藏
页数:11
相关论文
共 50 条
  • [1] G-estimation of causal effects, allowing for time-varying confounding
    Sterne, Jonathan A. C.
    Tilling, Kate
    [J]. STATA JOURNAL, 2002, 2 (02): : 164 - 182
  • [2] Using generalized linear models to implement g-estimation for survival data with time-varying confounding
    Seaman, Shaun R.
    Keogh, Ruth H.
    Dukes, Oliver
    Vansteelandt, Stijn
    [J]. STATISTICS IN MEDICINE, 2021, 40 (16) : 3779 - 3790
  • [3] Estimating Curvilinear Time-Varying Treatment Effects: Combining G-Estimation of Structural Nested Mean Models With Time-Varying Effect Models for Longitudinal Causal Inference
    Loh, Wen Wei
    [J]. PSYCHOLOGICAL METHODS, 2024,
  • [4] Accounting for Time-Varying Confounding in the Relationship Between Obesity and Coronary Heart Disease: Analysis With G-Estimation
    Shakiba, Maryam
    Mansournia, Mohammad Ali
    Salari, Arsalan
    Soori, Hamid
    Mansournia, Nasrin
    Kaufman, Jay S.
    [J]. AMERICAN JOURNAL OF EPIDEMIOLOGY, 2018, 187 (06) : 1319 - 1326
  • [5] Causal effect estimation strategies in a longitudinal study with complex time-varying confounders: A tutorial
    Mertens, Bart J. A.
    Datta, S.
    Brand, R.
    Peul, W.
    [J]. STATISTICAL METHODS IN MEDICAL RESEARCH, 2017, 26 (01) : 337 - 355
  • [6] Causal inference for time-varying instructional treatments
    Hong, Guanglei
    Raudenbush, Stephen W.
    [J]. JOURNAL OF EDUCATIONAL AND BEHAVIORAL STATISTICS, 2008, 33 (03) : 333 - 362
  • [7] Longitudinal causal effect of modified creatinine index on all-cause mortality in patients with end-stage renal disease: Accounting for time-varying confounders using G-estimation
    Aryaie, Mohammad
    Sharifi, Hamid
    Saber, Azadeh
    Salehi, Farzaneh
    Etminan, Mahyar
    Nazemipour, Maryam
    Mansournia, Mohammad Ali
    [J]. PLOS ONE, 2022, 17 (08):
  • [8] G-computation estimation for causal inference with complex longitudinal data
    Neugebauer, Romain
    van der Laan, Mark J.
    [J]. COMPUTATIONAL STATISTICS & DATA ANALYSIS, 2006, 51 (03) : 1676 - 1697
  • [9] Commentary: Causal models adjusting for time-varying confounding please send more data
    Lange, Theis
    Rod, Naja H.
    [J]. INTERNATIONAL JOURNAL OF EPIDEMIOLOGY, 2019, 48 (01) : 265 - 267
  • [10] gformula: Estimating causal effects in the presence of time-varying confounding or mediation using the g-computation formula
    Daniel, Rhian M.
    De Stavola, Bianca L.
    Cousens, Simon N.
    [J]. STATA JOURNAL, 2011, 11 (04): : 479 - 517