Take a look at our freely available resources library, covering entry-level and advanced topics
RDA RESOURCES
Scroll Down

Simulating survival data with a continuous time-varying covariate…the right way
In this post we’ll take a look at how to simulate survival data with a continuous, time-varying covariate. The aim is to simulate from a data-generating mechanism appropriate for evaluating a joint longitudinal-survival model. We’ll use the survsim command to simulate the survival times, and the merlin command to fit the corresponding true model. Let’s assume a proportional hazards […]
Learn more