Dear All,
I am trying to perform a competing regression analysis but receiving the following error.
'option compete(): competing risks events must be stset as censored r(459);'
Code as below:
stset FU_MA_YEARS, failure(CVE_MAJ_AMP==1) scale(1)
stcrreg IA, compete(Death==1)
I believe the error may be related to the fact that both 'death' and 'CVE_MAJ_AMP' are separate variables.
Would this be correct ? If so, what would be the best way to address this ? How can we incorporate both outcomes in the same variable ? Thank you.
0 Response to Help with stcrreg / competing regression
Post a Comment