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.
Related Posts with Help with stcrreg / competing regression
Using loop for wrapping up multiple merge commandsHi, I was wondering if a loop can wrap up below two merge commends. Thanks, NM use impute0, cle…
ci prop and proportions with zero countsHi, I would like to estimate a confidence interval for a proportion when there are zero counts. I fi…
superimposing a normal distribution over a histogram - how to rescale the functionDear all, I am trying to superimpose a normal distribution over a histogram, but the final output d…
EventStudy Ouptut table / outreg2?Hello Guys, I am conducting an event study (dividend announcements) with 109 companies and an event …
Comparing proportionsHello, I am analyzing survey data with 300 responses. There are two questions regarding their comfor…
Subscribe to:
Post Comments (Atom)
0 Response to Help with stcrreg / competing regression
Post a Comment