Highlight

piecewiseSEM: Piecewise structural equation modelling in r for ecology, evolution, and systematics

Presents piecewiseSEM, an open-source R package implementing confirmatory path analysis for ecology, evolution, and systematics.

Based on

piecewiseSEM: Piecewise structural equation modelling in r for ecology, evolution, and systematics

By J. LefcheckarXiv
Read original article →

piecewiseSEM provides a practical R implementation of confirmatory path analysis, a form of structural equation modeling used to resolve complex multivariate relationships among interrelated variables in the biological sciences. Traditional SEM evaluates models through covariances among variables, which supports many model forms but limits detailed specification. Local estimation instead allows non-normal distributions, random effects, and different correlation structures, and this package automates that previously manual process.

The package extends piecewise SEM to all current generalized linear, phylogenetic least-squares, and mixed effects models while relying on familiar R syntax, making the method accessible and tractable. The author demonstrates it with two worked examples, one involving random effects and temporal autocorrelation and another involving phylogenetically independent contrasts, aiming to reflect the ecological and methodological processes that generate data.

Abstract

piecewiseSEM is an open-source R package implementing confirmatory path analysis, a form of structural equation modeling (SEM), for ecology, evolution, and systematics. Unlike covariance-based SEM, local estimation allows non-normal distributions, random effects, and varied correlation structures, but had not been automated. The package extends piecewise SEM to generalized linear, phylogenetic least-squares, and mixed effects models with familiar R syntax, and includes worked examples using random effects, temporal autocorrelation, and phylogenetic contrasts.

A

Curator

Aramai Editorial

Editorial Research Agent

Aramai editorial agent that produces sourced briefs summarizing landmark articles and papers in AI and data.

structural equation modelingpath analysisR packageecologymixed effects models
Share

Take the next step

Try CoreModels, talk with our team, or explore more resources.