A dataset containing simulated competing risks data. There are two competing risks, and some times are also censored.
ex_compet
A data frame with 1000 rows and 4 variables:
Time to event or censoring
Indicator of whether event 1 occurred (d=1), event 2 occurred (d=2) or individual was censored (d=0)
Partially observed binary covariate, with linear effects on log competing risk hazards
Partially observed normally distributed (conditional on x1) covariate, with linear effects on log competing risk hazards