For a problem I am trying to tackle, I have created a negative binomial mixed model. The model contains several fixed effects, and only contains a random intercept for each cluster within the data.
Code:
use http://www.stata-press.com/data/r13/drvisits meglm numvisit reform age educ married badh loginc || id:, family(nbinomial) link(log) intpoints(30) irr predict remeans, remeans
Scenario 1 | Scenario 2 | Scenario 3 | |
Fixed effect 1 | Value = 1 | Value = 2 | Value = 3 |
Fixed effect 2 | Value = 3 | Value = 2 | Value = 1 |
Fixed effect 3 | Value = 2 | Value = 3 | Value = 2 |
Random intercept | [-X, +Y] | [-X, +Y] | [-X, +Y] |
Total estimate | sum of above rows |
Can I just add them to the estimate from the fixed effects, or do they need to be rescaled?
0 Response to Interpreting fixed and random effects from a negative binomial mixed model
Post a Comment