gformula: Estimating causal effects in the presence of time-varying confounding or mediation using the g-computation formula

This article describes a new command, gformula, that is an implementation of the g-computation procedure. It is used to estimate the causal effect of time-varying exposures on an outcome in the presence of time-varying confounders that are themselves also affected by the exposures. The procedure also addresses the related problem of estimating direct and indirect effects when the causal effect of the exposures on an outcome is mediated by intermediate variables, and in particular when confounders of the mediator–outcome relationships are themselves affected by the exposures. A brief overview of the theory and a description of the command and its options are given, and illustrations using two simulated examples are provided.


Issue Date:
2011
Publication Type:
Journal Article
DOI and Other Identifiers:
st0238 (Other)
PURL Identifier:
http://purl.umn.edu/196709
Published in:
Stata Journal, Volume 11, Number 4
Page range:
479-517
Total Pages:
41

Record appears in:



 Record created 2017-04-01, last modified 2017-08-28

Fulltext:
Download fulltext
PDF

Rate this document:

Rate this document:
1
2
3
 
(Not yet reviewed)