Abstract
We compare two approaches for simulating events in the illness-death model in a test example about type 2 diabetes in Germany. The first approach is a discrete event simulation, where relevant events, i.e., onset of disease and death, are simulated for each subject individually. The second approach is the Doob-Gillespie algorithm, which simulates the number of people in each state of the illness-death model at each point in time. The algorithms are compared in terms of bias, variance and speed. Based on the results of the comparison in the test example, we assess coverage of the corresponding Wald confidence intervals.
Competing Interest Statement
The authors have declared no competing interest.
Clinical Trial
Study is based on simulated data
Funding Statement
This work has not been funded.
Author Declarations
All relevant ethical guidelines have been followed; any necessary IRB and/or ethics committee approvals have been obtained and details of the IRB/oversight body are included in the manuscript.
Yes
All necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived.
Yes
I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).
Yes
I have followed all appropriate research reporting guidelines and uploaded the relevant EQUATOR Network research reporting checklist(s) and other pertinent material as supplementary files, if applicable.
Yes
Data Availability
This is a simulation study. Scripts for use with the free statistical software R is available from the authors.