I am trying to estimate a competing hazard model ala Fine & Grey (1999).
I have three different transition states, all of which are mutually exclusive and of interest. (ie. State 1, State 2, and State 3).
Previous research in my field with Stata have reported subhazard ratios for each state for each variable (e.g Subhazard for x1 for Stata 1, Subhazard for x1 for State 2, Subhazard for x1for State 3)
My question is what syntax is required to produce this.
Currently my syntax looks like this,
Code:
stset date_end, id(id) failure(state==1) scale(365.25) origin(start) stcrreg x1 x2 x3, compete(state = 2 3)
Do I then re-declare the survival data and then change the compete states to get all three sets of subhazards?
Thank you in advance for any advice
0 Response to Subhazard estimates from stcrreg with multiple (>2) competing hazards.
Post a Comment