Dear Stata community,
I have run the Fine-Gray competing risk model using stcrreg and worked perfectly well. However, my data is from several sites which are significantly different. I would like to account for this heterogeneity explicitly using a random effect multilevel model. I am aware the stcrreg support an option for robust SE but unfortunately this method does not explicitly account for the heterogeneity.
Here is sample model
stcrreg i.age_cat,comp(cevent) vce (cluster site) //this runs
The multilevel model I need would look like this
stcrreg i.age_cat || site:,comp(cevent)
However the above model does not work. Does in anyone know how I can control for the competing event as well as the heterogeneity in the model?
Thanks
Best regards Moses Ngari
Related Posts with stcrreg competing risk model with random intercept
Merging conditional on one range of dates falling within another range of datesHi. I have two sets of data, set 1 with variables HDR_startdate and HDR_enddate, and set 2 with vari…
Setting base year with interaction of continuous variable - panel dataHi. I am working with panel data, and have a continuous treatment variable x. I am interested in th…
Generalized DiD: How will the regression equation look like?Hi guys, I´m setting up an generalized DiD model. The policy is adopted at different times (two dif…
How to deal with panel dataset with variables in fractional form?I am dealing with a panel dataset in which both the DV and IVs are in fractional form. i.e. 0 to 1. …
Survival Analysis (Discrete hazard proportional odd)Dear researchers, I might have asked this question before, but I didn't get an adequate answer, I mi…
Subscribe to:
Post Comments (Atom)
0 Response to stcrreg competing risk model with random intercept
Post a Comment