MétaCan
Menu
Back to cohort
Record W2611208896 · doi:10.1101/132753

Modeling zero-inflated count data with glmmTMB

2017· preprint· en· W2611208896 on OpenAlexaff
M. Brooks, Kasper Kristensen, Koen J. van Benthem, Árni Magnússon, Casper Willestofte Berg, Anders Nielsen, Hans J. Skaug, Martin Mächler, Benjamin M. Bolker

Bibliographic record

VenuebioRxiv (Cold Spring Harbor Laboratory) · 2017
Typepreprint
Languageen
FieldMathematics
TopicStatistical Methods and Bayesian Inference
Canadian institutionsMcMaster University
FundersSchweizerischer Nationalfonds zur Förderung der Wissenschaftlichen ForschungNational Science Foundation
KeywordsCount dataLaplace's methodGeneralized linear mixed modelNegative binomial distributionOverdispersionMarkov chain Monte CarloComputer sciencePoisson distributionStatisticsQuasi-likelihoodRange (aeronautics)Generalized linear modelBayesian probabilityAlgorithmMathematicsApplied mathematicsEngineering

Abstract

fetched live from OpenAlex

Abstract Ecological phenomena are often measured in the form of count data. These data can be analyzed using generalized linear mixed models (GLMMs) 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 standard error distributions used in GLMMs, e.g., parasite counts may be exactly zero for hosts with effective immune defenses but vary according to a negative binomial distribution for non-resistant hosts. We present a new R package, glmmTMB , that increases the range of models that can easily be fitted to count data using maximum likelihood estimation. The interface was developed to be familiar to users of the lme4 R package, a common tool for fitting GLMMs. To maximize speed and flexibility, estimation is done using Template Model Builder ( TMB ), utilizing automatic differentiation to estimate model gradients and the Laplace approximation for handling random effects. We demonstrate glmm TMB and compare it to other available methods using two ecological case studies. In general, glmm TMB is more flexible than other packages available for estimating zero-inflated models via maximum likelihood estimation and is faster than packages that use Markov chain Monte Carlo sampling for estimation; it is also more flexible for zero-inflated modelling than INLA , but speed comparisons vary with model and data structure. Our package can be used to fit GLMs and GLMMs with or without zero-inflation as well as hurdle models. By allowing ecologists to quickly estimate a wide variety of models using a single package, glmm TMB makes it easier to find appropriate models and test hypotheses to describe ecological processes.

Fetched live from OpenAlex and de-inverted. Abstracts are not stored in this database: the inverted indexes are 8.6 GB of the frame’s 9.3 GB of text, and the host has 13 GB free.

How this classification was reachedexpand

Full frame machine prediction

Teacher imitation

Not calibrated prevalence, not ground truth. Human validation pending. The Gemma side is a direct model label for every work in the frame, read from the title-only record. The Codex side is a classifier learned from the 10,348 direct Codex labels and calibrated to design-weighted sample rates; fields without enough sample support carry no Codex call. Candidate is the union of the two sides; consensus is their intersection. These outputs are machine_predicted_unvalidated and are not human labels.

metaresearch head score (Codex)0.023
metaresearch head score (Gemma)0.079
Version: metacan-v3-hybrid-931329e0061cValidation status: machine_predicted_unvalidated
Candidate categoriesnone
Consensus categoriesnone
DomainCandidate signal: none · Consensus signal: none
Study designCandidate signal: Simulation or modeling · Consensus signal: Simulation or modeling
GenreCandidate signal: Methods · Consensus signal: Methods
Teacher disagreement score0.023
Threshold uncertainty score0.122

Distilled classifier scores by category (both heads)

CategoryCodexGemma
Metaresearch0.0230.079
Meta-epidemiology (narrow)0.0030.002
Meta-epidemiology (broad)0.0030.005
Bibliometrics0.0040.005
Science and technology studies0.0010.002
Scholarly communication0.0040.004
Open science0.0060.004
Research integrity0.0030.006
Insufficient payload (model declined to judge)0.0200.012

Machine scores (provisional)

The two teacher heads of the student model, read on this work. A score orders the frame for review; it never asserts a category, and the validation status ships verbatim with every row.

Baseline scores from an immature model (maturity gate not passed, 7 training rounds). Scores rank; they never assert a category.

Opus teacher head0.086
GPT teacher head0.328
Teacher spread0.243 · how far apart the two teachers sit on this one work
Validation statusscore_only:v0-immature-baseline · verbatim from the scoring run: score_only means the number may rank works, and no category label ships from it

Classification

machine, unvalidated

Machine predicted; a candidate call from one source (direct Gemma or distilled Codex), not a consensus.

The models applied no category: nothing in the taxonomy fit this work.
Study designSimulation or modeling
Domainnot available
GenreMethods

How this classification was reached, model by model and score by score, is at the end of the page under "How this classification was reached".

Quick stats

Citations428
Published2017
Admission routes1
Has abstractyes

Explore more

Same venuebioRxiv (Cold Spring Harbor Laboratory)Same topicStatistical Methods and Bayesian InferenceFrench-language works237,207