Dear all,
I'm working with a multilevel poisson model using random effect approach (first level the patient and 34 hospitals at the second level). Here I provide an example of the code I am using:
I would like to explore whether there are differences among hospitals and which hospitals differ the most (by excess or defect) once adjusted for the variables in the model.
Using postestimation commands I can retrieve the empirical bayes estimates of the random effect and their standard error.
I have two doubts about this:
1) Can I exponentiate the empirical bayes estimates (i.e., exp(re_hosp)) in order to read them as irr (I suppose that STATA gives me re_hosp prediction as logarithm)
2) Can I directly compare the confidence intervals to the 0 value to asses whether the hospital XYZ is significantly different from the average represented by the fixed part of the model?
Thank you for your attention
I'm working with a multilevel poisson model using random effect approach (first level the patient and 34 hospitals at the second level). Here I provide an example of the code I am using:
Code:
mepoisson outcome treatment sex age || hospital: , irr exp(personyear)
Using postestimation commands I can retrieve the empirical bayes estimates of the random effect and their standard error.
Code:
predict re_hosp, reffects reses(se_hosp) gen lb_hosp= re_hosp-1.96* se_hosp gen ub_hosp= re_hosp+1.96* se_hosp
1) Can I exponentiate the empirical bayes estimates (i.e., exp(re_hosp)) in order to read them as irr (I suppose that STATA gives me re_hosp prediction as logarithm)
2) Can I directly compare the confidence intervals to the 0 value to asses whether the hospital XYZ is significantly different from the average represented by the fixed part of the model?
Thank you for your attention
Comment