dsem: Dynamic Structural Equation Models

Applies dynamic structural equation models to time-series data with generic and simplified specification for simultaneous and lagged effects. Methods are described in Thorson et al. (2024) "Dynamic structural equation models synthesize ecosystem dynamics constrained by ecological mechanisms."

Version: 1.6.0
Depends: R (≥ 4.0.0)
Imports: TMB, Matrix, sem, igraph, utils, RTMB (≥ 1.7.0), ggraph, ggplot2, grid, methods, stats
LinkingTo: TMB, RcppEigen
Suggests: knitr, AER, phylopath, rmarkdown, reshape, gridExtra, dynlm, MARSS, ggpubr, vars, testthat, DHARMa
Enhances: rstan, tmbstan
Published: 2025-03-22
Author: James Thorson ORCID iD [aut, cre], Maurice Goodman ORCID iD [ctb], Wouter van der Bijl ORCID iD [ctb] (template for d-separation test), Giovanni M. Marchetti [ctr] (creator of ggm, from which functions are copied to avoid dependency on package graph not on CRAN)
Maintainer: James Thorson <James.Thorson at noaa.gov>
BugReports: https://github.com/James-Thorson-NOAA/dsem/issues
License: GPL-3
URL: https://james-thorson-noaa.github.io/dsem/
NeedsCompilation: yes
Citation: dsem citation info
Materials: README NEWS
CRAN checks: dsem results

Documentation:

Reference manual: dsem.pdf
Vignettes: Dynamic factor analysis (source, R code)
Spatial diffusion (source, R code)
Demonstration of selected features (source, R code)

Downloads:

Package source: dsem_1.6.0.tar.gz
Windows binaries: r-devel: dsem_1.5.0.zip, r-release: dsem_1.6.0.zip, r-oldrel: dsem_1.3.0.zip
macOS binaries: r-devel (arm64): dsem_1.6.0.tgz, r-release (arm64): dsem_1.6.0.tgz, r-oldrel (arm64): dsem_1.4.0.tgz, r-devel (x86_64): dsem_1.6.0.tgz, r-release (x86_64): dsem_1.6.0.tgz, r-oldrel (x86_64): dsem_1.3.0.tgz
Old sources: dsem archive

Reverse dependencies:

Reverse suggests: tinyVAST

Linking:

Please use the canonical form https://CRAN.R-project.org/package=dsem to link to this page.