A p-value < .05 indicates overdispersion. For merMod
- and
glmmTMB
-objects, check_overdispersion()
is based on the code in
the GLMM FAQ,
section How can I deal with overdispersion in GLMMs?. Note that
this function only returns an approximate estimate of an
overdispersion parameter, and is probably inaccurate for zero-inflated
mixed models (fitted with glmmTMB
). The same code is also used to
check overdispersion for negative binomial models.
For Poisson-models, the overdispersion test is based on the code
from Gelman and Hill (2007), page 115.
Overdispersion can be fixed by either modelling the dispersion parameter,
or by choosing a different distributional family (like Quasi-Poisson,
or negative binomial, see Gelman and Hill (2007), pages 115-116).