The R Journal · 2017 · 12.6K citations · 31 references
BusinessBiostatisticsStatistical ModelingStochastic ModelingSurvival AnalysisCount Data ModelsGeneralized Linear ModelsMixed Model AnalysisMixed-effects ModelsRandom Effects ModelingRandom-effects ModelsCount Data AnalysisGeneralized Linear Mixed ModelsGeneralized Linear Mixed-effects ModelsLinear Mixed ModelsPoisson DistributionZero-inflated DistributionsZero-inflated ModelsZeros
Count data often require generalized linear mixed models due to correlated observations, yet they are frequently zero‑inflated beyond what standard error distributions predict. The authors introduce the glmmTMB package and benchmark it against other R packages for fitting zero‑inflated mixed models. glmmTMB implements a wide range of GLMMs, including count responses, and uniquely estimates the Conway‑Maxwell‑Poisson parameter, offering a lme4‑style interface. glmmTMB outperforms glmmADMB, MCMCglmm, and brms in speed, and exceeds INLA and mgcv in flexibility for zero‑inflated modeling, making it attractive for new users.
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.
31
Fitting Linear Mixed-Effects Models Using <b>lme4</b>
Douglas M. Bates, Martin Mächler, Benjamin M. Bolker et al. · Journal of Statistical Software · 2015 · 85.6K citations · Full text