2023
DOI: 10.3389/fevo.2023.1065273
|View full text |Cite
|
Sign up to set email alerts
|

A versatile workflow for linear modelling in R

Abstract: Linear models are applied widely to analyse empirical data. Modern software allows implementation of linear models with a few clicks or lines of code. While convenient, this increases the risk of ignoring essential assessment steps. Indeed, inappropriate application of linear models is an important source of inaccurate statistical inference. Despite extensive guidance and detailed demonstration of exemplary analyses, many users struggle to implement and assess their own models. To fill this gap, we present a v… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
7
0

Year Published

2023
2023
2024
2024

Publication Types

Select...
5
2

Relationship

2
5

Authors

Journals

citations
Cited by 15 publications
(7 citation statements)
references
References 74 publications
0
7
0
Order By: Relevance
“…We implemented generalised linear mixed models with the glmmTMB R-package (Brooks et al, 2017) following a custom-written guided linear modelling R-routine (Santon et al, 2023). Model assessment followed the guidance of Santon et al (2023), focusing on the inspection of the distribution of randomised quantile residuals, computed with the R-package DHARMa (Hartig, 2022), within and among factor predictor levels that were included or not in the models, and performed posterior predictive checks to assess model dispersion and overall model fit. Models were initially implemented using the most appropriate family distribution for the nature of the response variable.…”
Section: Discussionmentioning
confidence: 99%
See 1 more Smart Citation
“…We implemented generalised linear mixed models with the glmmTMB R-package (Brooks et al, 2017) following a custom-written guided linear modelling R-routine (Santon et al, 2023). Model assessment followed the guidance of Santon et al (2023), focusing on the inspection of the distribution of randomised quantile residuals, computed with the R-package DHARMa (Hartig, 2022), within and among factor predictor levels that were included or not in the models, and performed posterior predictive checks to assess model dispersion and overall model fit. Models were initially implemented using the most appropriate family distribution for the nature of the response variable.…”
Section: Discussionmentioning
confidence: 99%
“…We implemented generalised linear mixed models with the glmmTMB R‐package (Brooks et al., 2017) following a custom‐written guided linear modelling R‐routine (Santon et al., 2023). Model assessment followed the guidance of Santon et al.…”
Section: Methodsmentioning
confidence: 99%
“…For analyses, we used the R‐workflow template (and packages therein) for generalized linear mixed model analysis (glmmTMB) provided by Santon et al. ( 2023 ). The template was used to select the most appropriate models by evaluating residual dispersion, zero inflation, and the overall model fits provided by different residual distribution families and link functions.…”
Section: Methodsmentioning
confidence: 99%
“…Estimated marginal means of the parameters are produced using the emmeans package [27]. The data and model specification were checked against the workflow for linear modelling in R by Santon et al [28].…”
Section: Methodsmentioning
confidence: 99%