Skip to content

How to know if random intercepts and slopes are, necessary for glmer.nb model

1 message · Highland Statistics Ltd

#
David....this is a little bit a 'Gandalf' question. Perhaps you should 
first figure out why the NB GLMM does not run. How many hospitals do you 
have. Perhaps you can set the theta parameter in glmer.nb to a fixed 
value (use an interval with nearly the same lower and upper limit).... 
and get the (log of ) theta from a nearby NB GLM model. That would 
certainly make the estimation process easier!

Why are you doing an NB GLMM? Do the Poisson GLMM equivalents run? I 
assume you had overdispersion. What was driving the overdispersion?

And if computing time is slow for the second NB GLMM model, fit the 
first model and see whether there are any a2 effects per hospital in the 
residuals of the first model.


Alain