PeerJ · 2019 · 1.2K citations · 33 references
BusinessBiostatisticsEcologyCommunity EcologyEnvironmental ModelingPopulation EcologyEcological ModelingEcological System ModelingGeneralized Linear ModelsHierarchical ModelingMixed-effects ModelsMultilevel ModelingEcological Data AnalysisFunctional Response ModelsGeneralized Linear Mixed ModelsGeneralized Linear Mixed-effects ModelsNonlinear Hierarchical Models
In this paper, we discuss an extension to two popular approaches to modeling complex structures in ecological data: the generalized additive model (GAM) and the hierarchical model (HGLM). The hierarchical GAM (HGAM), allows modeling of nonlinear functional relationships between covariates and outcomes where the shape of the function itself varies between different grouping levels. We describe the theoretical connection between HGAMs, HGLMs, and GAMs, explain how to model different assumptions about the degree of intergroup variability in functional response, and show how HGAMs can be readily fitted using existing GAM software, the mgcv package in R. We also discuss computational and statistical issues with fitting these models, and demonstrate how to fit HGAMs on example data. All code and data used to generate this paper are available at: github.com/eric-pedersen/mixed-effect-gams .
33
R: A Language and Environment for Statistical Computing
R Core Team · 2000 · 353K citations · Full text
Natural Sciences, Computer Science, Statistical Computing +10
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
Richard A. Brown, Trevor Hastie, Robert Tibshirani · Biometrics · 1991 · 8.3K citations
Robert A. Koyak, T. J. Hastie, Ryan J. Tibshirani · Journal of the American Statistical Association · 1991 · 7.7K citations