2018
DOI: 10.7287/peerj.preprints.27320v1
|View full text |Cite
Preprint
|
Sign up to set email alerts
|

Hierarchical generalized additive models: an introduction with mgcv

Abstract: In this paper, we discuss an extension to two popular approaches to modelling complex structures in ecological data: the generalized additive model (GAM) and the hierarchical model (HGLM). The hierarchical GAM (HGAM), allows modelling 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 these models, HGLMs and GAMs, explain how to model different assumptions about the… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
7
0

Year Published

2018
2018
2024
2024

Publication Types

Select...
6
2
1

Relationship

0
9

Authors

Journals

citations
Cited by 17 publications
(7 citation statements)
references
References 27 publications
0
7
0
Order By: Relevance
“…Next, we tested for differences in survival responses between plant functional groups (grasses, forbs, N‐fixers) by constructing a GAMM (family: binomial, link‐function: logit) with survival as the response variable, functional group with dry or wet start as fixed factor and mesocosm nested in plot as random block. A final GAMM (family: binomial, link function: logit) was constructed to test for differences in survival between individual species, including species with dry or wet start as fixed factor and mesocosm nested in plot as random block (Pedersen et al, 2018). We then determined two factors to explain differences in individual species survival: baseline competitive success and sensitivity to stress.…”
Section: Methodsmentioning
confidence: 99%
“…Next, we tested for differences in survival responses between plant functional groups (grasses, forbs, N‐fixers) by constructing a GAMM (family: binomial, link‐function: logit) with survival as the response variable, functional group with dry or wet start as fixed factor and mesocosm nested in plot as random block. A final GAMM (family: binomial, link function: logit) was constructed to test for differences in survival between individual species, including species with dry or wet start as fixed factor and mesocosm nested in plot as random block (Pedersen et al, 2018). We then determined two factors to explain differences in individual species survival: baseline competitive success and sensitivity to stress.…”
Section: Methodsmentioning
confidence: 99%
“…Since the Bythotrephes populations of each lake are below detection until mid‐summer, we needed to account for this seasonality and variable sampling times among years to estimate Bythotrephes density in each lake. We used a hierarchical generalized additive model framework where Bythotrephes count was dependent on lake‐specific seasonal (∼ s[day of the year]) and long‐term (∼ s[year]) factor‐smoothed trends that were penalized against general seasonal and long‐term smoothed trends that were shared between the neighboring, connected lakes (Pedersen et al 2019). The model was fit with Poisson‐distributed error and natural log‐transformed tow volume (ln[π × net radius 2 × tow depth]) as an offset (package “mgcv” in Wood 2015).…”
Section: Methodsmentioning
confidence: 99%
“…Following ), in which anatomical location and diet treatment were used as fixed effects, and mouse ID used to control for repeated sampling as needed. Generalized additive models were used to assess trends in alpha diversity using time as a smoother (92). Jaccard unweighted similarity was used to calculate sample similarity based on community membership (species presence/absence), visualized with non-parametric multidimensional scaling, and tested with permutational analysis of variance (permANOVA) by using the vegan package (93).…”
Section: Bacterial Community Sequencing and Analysismentioning
confidence: 99%