pwSEM: Piecewise Structural Equation Modelling
Conduct dsep tests (piecewise SEM) of a directed, or mixed, acyclic graph without latent variables (but possibly with implicitly marginalized or conditioned latent variables that create dependent errors) based on linear, generalized linear, or additive modelswith or without a nesting structure for the data. Also included are functions to do desp tests step-by-step,exploratory path analysis, and Monte Carlo X2 probabilities. This package accompanies Shipley, B, (2026).Cause and Correlation in Biology: A User's Guide to Path Analysis, StructuralEquations and Causal Inference (3rd edition). Cambridge University Press.
| Version: | 1.0.0 |
| Depends: | R (≥ 2.10) |
| Imports: | copula,gamm4,ggm,igraph,mgcv,poolr, stats |
| Suggests: | knitr,rmarkdown,testthat (≥ 3.0.0) |
| Published: | 2025-07-02 |
| DOI: | 10.32614/CRAN.package.pwSEM |
| Author: | Bill Shipley [aut, cre] |
| Maintainer: | Bill Shipley <Bill.Shipley at USherbrooke.ca> |
| License: | MIT + fileLICENSE |
| NeedsCompilation: | no |
| Materials: | README,NEWS |
| CRAN checks: | pwSEM results |
Documentation:
Downloads:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=pwSEMto link to this page.