This project contains R code for implementation of the simulation study described in the following paper:
Ruth Keogh, Jon Michael Gran, Shaun Seaman, Gwyneth Davies, Stijn Vansteelandt.
Causal inference in survival analysis using longitudinal observational data: Sequential trials and marginal structural models
Statistics in Medicine 2023; 42 (13): 2191-2225. https://doi.org/10.1002/sim.9718
See also: https://arxiv.org/abs/2110.03117