glmernb
glmer.nb is a function in the R package lme4 that fits generalized linear mixed models (GLMMs) with a negative binomial response. It is used for count data that show overdispersion relative to a Poisson model, providing a way to model both fixed effects and random effects within the GLMM framework.
In a glmer.nb model, the conditional mean mu is linked to the linear predictor through a log
Estimation is performed by maximum likelihood with numerical integration over the random effects, commonly using the
Practical use involves comparing glmer.nb to Poisson-based models to assess overdispersion and model fit, often via
See also: glmer, lme4, negative binomial models, glmmTMB, brms.