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
How to compare statistical difference between coefficients of two regressionsDear Stata Users, Please, help me with the following. How do I compare statistical difference betw…
lowess with confidence intervalsDear Stata users, I am wondering is it possible to graph the lowess smoothing function with confide…
Interpetation of pstestCan anyone help me how to interpret psmatch2 and pstest? I wanted to do probit model ATE test using …
Making loops to create 2 groups of variablesHello all, I have data that is set out with columns divided into Sex; then Labour Force Status (8 c…
Sorting issue when sort is expanded by a variableHello, I have an issue running the following command Code: sort id _mi_m survey expectation gift…
Subscribe to:
Post Comments (Atom)
0 Response to stcrreg competing risk model with random intercept
Post a Comment