A dataset containing simulated competing risks data. There are two competing risks, and some times are also censored. Proportionality holds on the subdistribution hazard scale for cause 2, where for dataset `ex_compet` it instead holds on the cause-specific hazard scale.
ex_finegray
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 subdistribution hazard of cause 1
Partially observed normally distributed (conditional on x1) covariate, with linear effects on log subdistribution hazard of cause 1