Code:
use http://www.stata-press.com/data/r13/hypoxia, clear
set seed 134
stset dftime, failure(failtype == 1)
stcrreg ifp tumsize_split pelnode, compete(failtype == 2)
the above code will give subhazard ratio for the failure type 1. however, how do you obtain the subhazard for the failure type 2?