The following code creates comparative cumulative incidence functions (without showing censored data):
use http://www.stata-press.com/data/r13/hypoxia
stset dftime fail(failtype==1)
stcrreg ifp tumsize pelnode, compete(failtype==2)
stcurve, cif at1(ifp=5 pelnode=0) at2(ifp=20 pelnode=0)
Whether it is possible to add (at the end) the code which will show (on curves) the censored data (ie zeros in censore variable " failtype ") to run in the command window?
P.S. Of course, this is a model example (to use it for other data).
Thank you in advance!
use http://www.stata-press.com/data/r13/hypoxia
stset dftime fail(failtype==1)
stcrreg ifp tumsize pelnode, compete(failtype==2)
stcurve, cif at1(ifp=5 pelnode=0) at2(ifp=20 pelnode=0)
Whether it is possible to add (at the end) the code which will show (on curves) the censored data (ie zeros in censore variable " failtype ") to run in the command window?
P.S. Of course, this is a model example (to use it for other data).
Thank you in advance!
Comment