Hi,
our data is a like this:
...............
surgery_date is the start point.
I want to use cox regression to predict the time to readmission, death is a competing risk.
so I created a variable competing_outcome: 0=no death and no readmission, 1=readmission, 2=no readmission but dead
so...