Unknown

Dataset Information

0

Hierarchical generalized additive models in ecology: an introduction with mgcv.


ABSTRACT: 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.

SUBMITTER: Pedersen EJ 

PROVIDER: S-EPMC6542350 | biostudies-literature | 2019

REPOSITORIES: biostudies-literature

altmetric image

Publications

Hierarchical generalized additive models in ecology: an introduction with mgcv.

Pedersen Eric J EJ   Miller David L DL   Simpson Gavin L GL   Ross Noam N  

PeerJ 20190527


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 ab  ...[more]

Similar Datasets

| S-EPMC3982924 | biostudies-literature
2016-12-22 | E-MTAB-4175 | biostudies-arrayexpress
| S-EPMC9122737 | biostudies-literature
| S-EPMC1690783 | biostudies-literature
| S-EPMC3638824 | biostudies-other
| S-EPMC4514424 | biostudies-other
| S-EPMC4394709 | biostudies-literature
| S-EPMC7319248 | biostudies-literature
| S-EPMC4844122 | biostudies-literature
| S-EPMC10733380 | biostudies-literature