Authors
Mollie E Brooks, Kasper Kristensen, Koen J Van Benthem, Arni Magnusson, Casper W Berg, Anders Nielsen, Hans J Skaug, Martin Machler, Benjamin M Bolker
Publication date
2017
Journal
The R Journal
Volume
9
Issue
2
Pages
378-400
Publisher
Technische Universitaet Wien
Description
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.
Total citations
2018201920202021202220232024603348011443171420971587
Scholar articles
ME Brooks, K Kristensen, KJ van Benthem… - BioRxiv, 2017
ME Brooks, K Kristensen, KJ Van Benthem… - DOI: https://doi. org/10.1101/132753, 2017
ME Brooks, K Kristensen, KJ van Benthem… - Preprint, 2017