R code repository for the paper "Extending multistate models with g-computation to
evaluate treatment delay".
The repository contains the following:
-
Simulation.R : main R script which reproduces all simuation results and figures of the manuscript;
-
SimualtionFunctions.R: R script for some functions used in the simulation study;
-
Output: Folder with the output of the simulation for the four scenarios described in the paper and two variations of them: (i) using Weibull baseline distribution and (ii) with an extra binomial predictor.
-
Plots: The figures corresponding to all 12 scenarios.
You can download a zip file containing the directory by clicking Code -> Download ZIP at the top-right of this Github page.
Author | Affiliation |
---|---|
Ilaria Prosepe | Department of Biomedical Data Sciences, Leiden University Medical Center, Leiden, Netherlands |
Saskia le Cessie | Department of Clinical Epidemiology, Leiden University Medical Center, Leiden, Netherlands |
Hein Putter | Department of Biomedical Data Sciences, Leiden University Medical Center, Leiden, Netherlands |
Nan van Geloven | Department of Biomedical Data Sciences, Leiden University Medical Center, Leiden, Netherlands |