UCL Discovery
UCL home » Library Services » Electronic resources » UCL Discovery

gesttools: General Purpose G-Estimation in R

Tompsett, D; Vansteelandt, S; Dukes, O; De Stavola, B; (2022) gesttools: General Purpose G-Estimation in R. Observational Studies , 8 (1) pp. 1-28. 10.1353/obs.2022.0003. Green open access

[thumbnail of project_muse_856403.pdf]
Preview
PDF
project_muse_856403.pdf - Published Version

Download (477kB) | Preview

Abstract

In this paper we present gesttools, a series of general purpose, user friendly functions with which to perform g-estimation of structural nested mean models (SNMMs) for time-varying exposures and outcomes in R. The package implements the g-estimation methods found in Vansteelandt and Sjolander (2016) and Dukes and Vansteelandt (2018), and is capable of analysing both end of study and time-varying outcome data that are either binary or continuous, or exposure variables that are either binary, continuous, or categorical. It also allows for the fitting of SNMMs with time-varying causal effects, effect modification by other variables, or both, as well as support for censored data using inverse weighting. We outline the theory underpinning these methods, as well as describing the SNMMs that can be fitted by the software. The package is demonstrated using simulated, and real-world inspired datasets.

Type: Article
Title: gesttools: General Purpose G-Estimation in R
Open access status: An open access version is available from UCL Discovery
DOI: 10.1353/obs.2022.0003
Publisher version: https://doi.org/10.1353/obs.2022.0003
Language: English
Additional information: To facilitate the Open Access digital publication of the journal, it will be distributed under a Creative Commons Attribution Non-Commercial 4.0 International (CC BY-NC 4.0) license or a successor license selected by the Publisher.
Keywords: g-estimation, time-varying confounding, effect modification, R
UCL classification: UCL
UCL > Provost and Vice Provost Offices > School of Life and Medical Sciences > Faculty of Population Health Sciences > UCL GOS Institute of Child Health > Population, Policy and Practice Dept
UCL > Provost and Vice Provost Offices > School of Life and Medical Sciences > Faculty of Population Health Sciences > UCL GOS Institute of Child Health
UCL > Provost and Vice Provost Offices > School of Life and Medical Sciences
URI: https://discovery.ucl.ac.uk/id/eprint/10154703
Downloads since deposit
186Downloads
Download activity - last month
Download activity - last 12 months
Downloads by country - last 12 months

Archive Staff Only

View Item View Item