Gformula: Estimating Causal Effects in the Presence of Time-Varying Confounding or Mediation using the G-Computation Formula
Open accessThe DOI matches its Crossref record; 49 of the 49 references it cites were found in a registry or an index.
Abstract
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.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Statistical Analysis With Missing Data
Lahiff, M., Little, R. J. A., & Rubin, D. B. (1989) · Journal of the American Statistical Association · doi:10.2307/2289883 · Cited by 17,265
Causality: Models, Reasoning, and Inference
Pearl, J. (2009) · doi:10.1017/cbo9780511803161 · Cited by 11,653
Mostly Harmless Econometrics: An Empiricist's Companion
Angrist, J. D., & Pischke, J.-S. (2009) · doi:10.1515/9781400829828 · Cited by 9,467 · cited 1×
“Much has been written on the general subject of confounding (Pearl 2009; Rothman, Greenland, and Lash 2008; Morgan and Winship 2007; Angrist and Pischke 2009). This article focuses on the specific problem of time-varying confounders, that is, factors that potentially confound the causal relationship between a time-var…”
Statistical Analysis with Missing Data
Little, R. J. A., & Rubin, D. B. (2002) · Wiley Series in Probability and Statistics · doi:10.1002/9781119013563 · Cited by 8,473 · cited 3×
“By drawing multiple proper imputations, Rubin’s rules (Little and Rubin 2002) can then be used to estimate the standard errors of the final parameter estimates.”
InfluentialMarginal Structural Models and Causal Inference in Epidemiology
Robins, J. M., Hernán, M. Á., & Brumback, B. (2000) · Epidemiology · doi:10.1097/00001648-200009000-00011 · Cited by 5,581 · cited 1×
“This can be done using a Marginal Structural Model (Robins et al., 2000).”
Mostly Harmless Econometrics: An Empiricist's Companion
Angrist, J. D., & Pischke, J.-S. (2008) · doi:10.2307/j.ctvcm4j72 · Cited by 5,051
Causal Diagrams for Epidemiologic Research
Greenland, S., Pearl, J., & Robins, J. M. (1999) · Epidemiology · doi:10.1097/00001648-199901000-00008 · Cited by 3,728
Bowman, P. W. (1963) · AIBS Bulletin · doi:10.2307/1292957 · Cited by 3,638
Modern Epidemiology 3rd edition
Rothman, K. J., Lash, T. L., & Greenland, S. (1986) · Cited by 3,103
Air Pollution and Hospital Admissions for Heart Disease in Eight U.S. Counties
Schwartz, J. (1999) · Epidemiology · doi:10.1097/00001648-199901000-00005 · Cited by 3,038 · cited 2×
“The scenario to be considered is best illustrated using a causal diagram (Greenland, Pearl, and Robins 1999) such as the one depicted in figure 1.”
Cited by
Mediation Analysis: A Practitioner's Guide
VanderWeele, T. J. (2016) · Annual Review of Public Health · doi:10.1146/annurev-publhealth-032315-021402 · Cited by 1,985
A Quantile-Based g-Computation Approach to Addressing the Effects of Exposure Mixtures
Keil, A. P., Buckley, J. P., O’Brien, K. M., Ferguson, K. K., Zhao, S., & White, A. J. (2020) · Environmental Health Perspectives · doi:10.1289/ehp5838 · Cited by 1,714
Victora, C. G., Horta, B. L., de Mola, C. L., Quevedo, L., Pinheiro, R. T., Gigante, D. P., Gonçalves, H., & Barros, F. C. (2015) · The Lancet Global Health · doi:10.1016/s2214-109x(15)70002-1 · Cited by 785
Mediation analysis in epidemiology: methods, interpretation and bias
Richiardi, L., Bellocco, R., & Zugna, D. (2013) · International Journal of Epidemiology · doi:10.1093/ije/dyt127 · Cited by 781
Methods for dealing with time‐dependent confounding
Daniel, R. M., Cousens, S. N., De Stavola, B. L., Kenward, M. G., & Sterne, J. A. C. (2013) · Statistics in Medicine · doi:10.1002/sim.5686 · Cited by 376
Self-citationCausal Mediation Analysis with Multiple Mediators
Daniel, R. M., De Stavola, B. L., Cousens, S. N., & Vansteelandt, S. (2015) · Biometrics · doi:10.1111/biom.12248 · Cited by 320
Self-citationmedflex: An R Package for Flexible Mediation Analysis using Natural Effect Models
Steen, J., Loeys, T., Moerkerke, B., & Vansteelandt, S. (2017) · Journal of Statistical Software · doi:10.18637/jss.v076.i11 · Cited by 278
Fasanelli, F., Baglietto, L., Ponzi, E., Guida, F., Campanella, G., Johansson, M., Grankvist, K., Johansson, M., Assumma, M. B., Naccarati, A., et al. (2015) · Nature Communications · doi:10.1038/ncomms10192 · Cited by 231
Self-citationA Primer on Inverse Probability of Treatment Weighting and Marginal Structural Models
Thoemmes, F., & Ong, A. D. (2016) · Emerging Adulthood · doi:10.1177/2167696815621645 · Cited by 217
Ferguson, K. D., McCann, M., Katikireddi, S. V., Thomson, H., Green, M. J., Smith, D. J., & Lewsey, J. D. (2020) · International Journal of Epidemiology · doi:10.1093/ije/dyz150 · Cited by 188
Horta, B. L., Schaan, B. D., Bielemann, R. M., Vianna, C. Á., Gigante, D. P., Barros, F. C., Ekelund, U., & Hallal, P. C. (2015) · Atherosclerosis · doi:10.1016/j.atherosclerosis.2015.09.005 · Cited by 59
Metadata
- Authors
- Daniel, R. M., De Stavola, B. L., & Cousens, S. N.
- Venue
- The Stata Journal: Promoting communications on statistics and Stata
- Publisher
- SAGE Publications
- Published
- 2011-12
- Volume
- 11
- Issue
- 4
- Pages
- 479-517
- ISSN
- 1536-867X (ISSN-L)
- 1536-8734
- OpenAlex
- W2159691010
- Cited by
- 174
- References
- 49
- FWCI
- 5.29
- Type
- journal article
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.