Skip to contents

DOI CRAN Status R-Universe Status Make Project R-CMD-check R Package Test Coverage Lint R Package Package Website (GitHub Pages) Compile LaTeX Shell Check pages-build-deployment codecov

Description

Provides a streamlined and user-friendly framework for simulating data in state space models, particularly when the number of subjects/units (n) exceeds one, a scenario commonly encountered in social and behavioral sciences. This package was designed to generate data for the simulations performed in Pesigan, Russell, and Chow (2025: https://doi.org/10.1037/met0000779).

Installation

You can install the CRAN release of simStateSpace with:

install.packages("simStateSpace")

You can install the development version of simStateSpace from GitHub with:

if (!require("remotes")) install.packages("remotes")
remotes::install_github("jeksterslab/simStateSpace")

More Information

See GitHub Pages for package documentation.

Citation

To cite simStateSpace in publications, please cite Pesigan et al. (2025).

References

Chow, S.-M., Ho, M. R., Hamaker, E. L., & Dolan, C. V. (2010). Equivalence and differences between structural equation modeling and state-space modeling techniques. Structural Equation Modeling: A Multidisciplinary Journal, 17(2), 303–332. https://doi.org/10.1080/10705511003661553
Pesigan, I. J. A., Russell, M. A., & Chow, S.-M. (2025). Inferences and effect sizes for direct, indirect, and total effects in continuous-time mediation models. Psychological Methods. https://doi.org/10.1037/met0000779
R Core Team. (2025). R: A language and environment for statistical computing. R Foundation for Statistical Computing. https://www.R-project.org/