glmmTMB Balances Speed and Flexibility Among Packages for Zero-inflated Generalized Linear Mixed Modeling
By Mollie E. Brooks, Kasper Kristensen, Koen J. van Benthem, Arni Magnusson, Casper W. Berg, Anders Nielsen, Hans Julius Skaug, Martin Mächler, Benjamin M. Bolker. The R Journal, 2017
10,195 citations recorded by the source corpus.
Count data can be analyzed using generalized linear mixed models when observations are correlated in ways that require random effects. However, count data are often zero-inflated, containing more zeros than would be expected from the typical error distributions. We present a new package, glmmTMB, and compare it to other R packages that fit zero-inflated mixed models. The glmmTMB package fits many types of GLMMs and extensions, including models with continuously distributed responses, but here we focus on count responses. glmmTMB is faster than glmmADMB, MCMCglmm, and brms, and more flexible than INLA and mgcv for zero-inflated modeling. One unique feature of glmmTMB (among packages that fit zero-inflated mixed models) is its ability to estimate the Conway-Maxwell-Poisson distribution parameterized by the mean. Overall, its most appealing features for new users may be the combination of speed, flexibility, and its interface’s similarity to lme4.
Subfields: Genetics, Statistics and Probability
View Paper: https://www.semanticscholar.org/paper/b3f7359c6d5780972c5ea8db016a01f0c705aa01
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Genetics
- Jacob C. Douma
- J. Weedon
- Benjamin M. Bolker
- S. Cooke
- L. Lawson Handley
- B. Hänfling
- David I. Warton
- C. Krueger
In Statistics and Probability
- Jacob C. Douma
- J. Weedon
- David I. Warton
- Benjamin M. Bolker
- S. Cooke
- L. Lawson Handley
- L. Gutowsky
- B. Hänfling
Citations in the corpus
- Conducting and interpreting fish telemetry studies: considerations for researchers and resource managers (2019, methodology): “To this end, many telemetry studies today are conducted by, or in partnership with government natural resource management agencies (e.g., Brooks et al. 2017a; Klimley et al. 2017).”
- Analysing continuous proportions in ecology and evolution: A practical introduction to beta and Dirichlet regression (2019, methodology): “Mixed effect models can account for non‐independence of observations and can be implemented as extensions to Generalized Linear Models (Bolker, 2015; Zuur et al., 2009) and have been developed for beta distributed variables as well (Brooks et al., 2017).”
- Parsimoniously Fitting Large Multivariate Random Effects in glmmTMB (2024, positive): “…follows: R> glmer(abundance ~ Zone + Year + (Species + 0 | ID), family = "poisson", + data = windfarm) or equivalently, using the glmmTMB package (Brooks et al. 2017): R> glmmTMB(abundance ~ Zone + Year + (Species + 0 | ID), family = "poisson", + data = windfarm) We show in Appendix A that if…”
- Environmental DNA (eDNA) metabarcoding of pond water as a tool to survey conservation and management priority mammals (2019, methodology): “link function using the package glmmTMB (development version; Brooks et al., 2017) for the 293 following tests.”