Hi,
(I am new to this forum. Sorry if I am asking stupid questions.)
I am interested in plotting the probability of failure event and competing events in one graph for competing risk model using -stcrreg- suite. Here is an example from the manual.
use http://www.stata-press.com/data/r13/hypoxia, clear
stset dftime, failure(failtype == 1)
stcrreg ifp tumsize pelnode, compete(failtype == 2)
The following command gives the cumulative incidence curves for specific values of covariates.
stcurve, cif at1(ifp = 5 pelnode = 0) at2(ifp = 20 pelnode = 0)
Instead, I am interest in plotting the probability of event 1 (failtype==1) and event 2 (failtype==2) (probability on the vertical axis and analysis time on the horizontal axis). I searched the post estimation commands of stcrreg, but it doesn’t have any options for subhazards or probabilities for competing events.
Any suggestions would be appreciated.
Thanks,
Nazmul
(I am new to this forum. Sorry if I am asking stupid questions.)
I am interested in plotting the probability of failure event and competing events in one graph for competing risk model using -stcrreg- suite. Here is an example from the manual.
use http://www.stata-press.com/data/r13/hypoxia, clear
stset dftime, failure(failtype == 1)
stcrreg ifp tumsize pelnode, compete(failtype == 2)
The following command gives the cumulative incidence curves for specific values of covariates.
stcurve, cif at1(ifp = 5 pelnode = 0) at2(ifp = 20 pelnode = 0)
Instead, I am interest in plotting the probability of event 1 (failtype==1) and event 2 (failtype==2) (probability on the vertical axis and analysis time on the horizontal axis). I searched the post estimation commands of stcrreg, but it doesn’t have any options for subhazards or probabilities for competing events.
Any suggestions would be appreciated.
Thanks,
Nazmul
Comment