dataMultiv: Simulated data for two types of recurrent events and a terminal event
Description
This contains a simulated sample of of 800 subjects and 1652 observations. This dataset can be used to illustrate how to fit a joint multivariate frailty model.
Two gaussian correlated random effects were generated with mean 0, variances 0.5 and a correlation coefficient equals to 0.5. The coefficients $\alpha_1$ and $\alpha_2$ were fixed to 1. The three baseline hazard functions followed a Weibull distribution and right censoring was fixed at 5.