piecewiseSEM: Piecewise structural equation modelling in r for ecology, evolution, and systematics
By J. Lefcheck. 2015
4,050 citations recorded by the source corpus.
Ecologists and evolutionary biologists rely on an increasingly sophisticated set of statistical tools to describe complex natural systems. One such tool that has gained significant traction in the biological sciences is structural equation models (SEM), a form of path analysis that resolves complex multivariate relationships among a suite of interrelated variables. Evaluation of SEMs has historically relied on covariances among variables, rather than the values of the data points themselves. While this approach permits a wide variety of model forms, it limits the incorporation of detailed specifications. Recent developments have allowed for the simultaneous implementation of non‐normal distributions, random effects and different correlation structures using local estimation, but this process is not yet automated and consequently, evaluation can be prohibitive with complex models. Here, I present a fully documented, open‐source package piecewiseSEM, a practical implementation of confirmatory path analysis for the r programming language. The package extends this method to all current (generalized) linear, (phylogenetic) least‐square, and mixed effects models, relying on familiar r syntax. I also provide two worked examples: one involving random effects and temporal autocorrelation, and a second involving phylogenetically independent contrasts. My goal is to provide a user‐friendly and tractable implementation of SEM that also reflects the ecological and methodological processes generating data.
Subfields: Ecological Modeling, Nature and Landscape Conservation
View Paper: https://www.semanticscholar.org/paper/f67fd9dbd7e9c14a440bb5bee8a0fb71551d0f7b
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Ecological Modeling
- Shinichi Nakagawa
- H. Schielzeth
- P. C. Johnson
- David Hodgson
- Maria Eugenia Correa-Cano
- Beth S Robinson
- Richard Inger
- Lynda Donaldson
In Nature and Landscape Conservation
- Shinichi Nakagawa
- X. Harrison
- H. Schielzeth
- David Hodgson
- Richard Inger
- Maria Eugenia Correa-Cano
- Beth S Robinson
- Lynda Donaldson
Citations in the corpus
- The coefficient of determination R2 and intra-class correlation coefficient from generalized linear mixed-effects models revisited and expanded (2016, positive): “Notably, our 365 approach for R(2)GLMM is kindly being implemented in the rsquared function in the R package 366 piecewiseSEM [37].”
- Unifying the concepts of stability and resilience in ecology (2020, methodology): “The model was fit using the piecewisesem package in R (Lefcheck, 2016) [Colour figure can be viewed at wileyonlinelibrary.com] (a) (b) (c) d age D tP tP+1 RST RSL D –0.7 2* ** 0.48*** 0.29 * 0.”
- A brief introduction to mixed effects modelling and multi-model inference in ecology (2018, methodology): “The Nakagawa & Schielzeth (2013) R 2 functions have been incorporated into several packages, including ‘MuMIn’ (Bartoń 2016) and ‘piecewiseSEM’ (Lefcheck 2015), and Johnson (2014) has developed an extension of the functions for random slope models.”
- Shifts in plant functional composition following long‐term drought in grasslands (2019, methodology): “Both marginal and conditional R2 values (Nakagawa & Schielzeth, 2013) were calculated for each mixed effect model using the ‘rsquared’ function in the ‘piecewiseSEM’ package (Lefcheck, 2016).”
- The impact of honey bee colony quality on crop yield and farmers’ profit in apples and pears (2017, methodology): “Finally, following the procedure described in the Piecewise Structural Equation Modelling package, (Lefcheck, 2016; V. 3.2.2, R Development Core Team, 2015), we constructed the models associated to each of the path proposed in Figs.”
- A global assessment of the direct and indirect benefits of marine protected areas for coral reef conservation (2018, methodology): “The r package piecewise SEM was used to estimate the coefficients that describe the strength of the causal pathways in the SEM, as it allowed the use of mixed effects models (Lefcheck, 2016).”
- Temporal scale‐dependence of plant–pollinator networks (2020, neutral): “2.1.0 (Lefcheck 2016).”
- Global patterns of ecologically unequal exchange: Implications for sustainability in the 21st century (2021, methodology): “SEMs are networks of variables connected through paths that represent statistical relationships (Grace, 2006; Lefcheck, 2016).”
- Applications of structural equation modeling (SEM) in ecological studies: an updated review (2016, methodology): “LISREI, Lavaan (R-package), piecewiseSEM (R-package), and Matlab (Rosseel 2012; Byrne 2013; Lefcheck 2015).”
- The indicator side of tree microhabitats: A multi-taxon approach based on bats, birds and saproxylic beetles (2018, methodology): “Second, for each biodiversity metric, we used the microhabitat index selected in the previous step to fit a SEM (using the package piecewiseSEM, Lefcheck, 2016; Figure 2).”