Closed caimiao0714 closed 4 years ago
This logically happens because the negative.binomial()
family function from lme4 has overwritten the function with the same name from GLMMadaptive. Try fitting again the model by specifying in mixed_model()
the family
argument as family = GLMMadaptive:::negative.binomial()
.
This logically happens because the
negative.binomial()
family function from lme4 has overwritten the function with the same name from GLMMadaptive. Try fitting again the model by specifying inmixed_model()
thefamily
argument asfamily = GLMMadaptive:::negative.binomial()
.
Thank you! Is it possible to specify an offset
term in mixed-effect negative binomial models?
Yes, you can include an offset directly into the fixed effects formula.
Hi there,
I was trying to implement the negative binomial model example. However, I got the following error message:
here is my session information:
Thank you, Miao