Learn R Programming

⚠️There's a newer version (1.2.15) of this package.Take me there.

simStateSpace (version 1.2.14)

Simulate Data from State Space Models

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) .

Copy Link

Version

Install

install.packages('simStateSpace')

Monthly Downloads

825

Version

1.2.14

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Ivan Jacob Agaloos Pesigan

Last Published

January 10th, 2026

Functions in simStateSpace (1.2.14)

SimBetaN2

Simulate Transition Matrices from the Multivariate Normal Distribution and Project to Stability
SSMMeanY

Steady-State Mean Vector for the Observed Variables in the State Space Model
SimPhiN

Simulate Random Drift Matrices from the Multivariate Normal Distribution
SimIotaN

Simulate Intercept Vectors in a Continuous-Time Vector Autoregressive Model from the Multivariate Normal Distribution
SimAlphaN

Simulate Intercept Vectors in a Discrete-Time Vector Autoregressive Model from the Multivariate Normal Distribution
SimBetaN

Simulate Transition Matrices from the Multivariate Normal Distribution
SimCovDiagN

Simulate Diagonal Covariance Matrices from the Multivariate Normal Distribution
SimBetaNCovariate

Simulate Transition Matrices with a Covariate from the Multivariate Normal Distribution
SimCovN

Simulate Covariance Matrices from the Multivariate Normal Distribution
SimNuN

Simulate Intercept Vectors in a Discrete-Time Vector Autoregressive Model from the Multivariate Normal Distribution
SimSSMLinGrowthIVary

Simulate Data from the Linear Growth Curve Model (Individual-Varying Parameters)
SimSSMLinGrowth

Simulate Data from the Linear Growth Curve Model
SimPhiN2

Simulate Random Drift Matrices from the Multivariate Normal Distribution and Project to Hurwitz
SimSSMLinSDEFixed

Simulate Data from the Linear Stochastic Differential Equation Model using a State Space Model Parameterization (Fixed Parameters)
SimSSMIVary

Simulate Data from a State Space Model (Individual-Varying Parameters)
SimSSMFixed

Simulate Data from a State Space Model (Fixed Parameters)
SimSSMOUFixed

Simulate Data from the Ornstein–Uhlenbeck Model using a State Space Model Parameterization (Fixed Parameters)
SimPhiNCovariate

Simulate Random Drift Matrices with a Covariate from the Multivariate Normal Distribution
SimSSMLinSDEIVary

Simulate Data from the Linear Stochastic Differential Equation Model using a State Space Model Parameterization (Individual-Varying Parameters)
SimSSMOUIVary

Simulate Data from the Ornstein–Uhlenbeck Model using a State Space Model Parameterization (Individual-Varying Parameters)
TestPhi

Test the Drift Matrix
as.matrix.simstatespace

Coerce an Object of Class simstatespace to a Matrix
as.data.frame.simstatespace

Coerce an Object of Class simstatespace to a Data Frame
TestStationarity

Test Stationarity
SimSSMVARIVary

Simulate Data from the Vector Autoregressive Model (Individual-Varying Parameters)
SpectralAbscissa

Spectral Abscissa
TestStability

Test Stability
SpectralRadius

Spectral Radius
TestPhiHurwitz

Test Hurwitz Stability of a Drift Matrix
SimSSMVARFixed

Simulate Data from the Vector Autoregressive Model (Fixed Parameters)
print.simstatespace

Print Method for an Object of Class simstatespace
plot.simstatespace

Plot Method for an Object of Class simstatespace
simStateSpace-package

simStateSpace: Simulate Data from State Space Models
LinSDEMeanY

Steady-State Mean Vector for the Observed Variables in the Linear Stochastic Differential Equation Model
LinSDECovEta

Steady-State Covariance Matrix for the Latent Variables in the Linear Stochastic Differential Equation Model
ProjectToStability

Project Matrix to Stability
LinSDEMeanEta

Steady-State Mean Vector for the Latent Variables in the Linear Stochastic Differential Equation Model
ProjectToHurwitz

Project Matrix to Hurwitz Stability
SSMMeanEta

Steady-State Mean Vector for the Latent Variables in the State Space Model
SSMCovY

Steady-State Covariance Matrix for the Observed Variables in the State Space Model
SSMCovEta

Steady-State Covariance Matrix for the Latent Variables in the State Space Model
LinSDECovY

Steady-State Covariance Matrix for the Observed Variables in the Linear Stochastic Differential Equation Model
LinSDE2SSM

Convert Parameters from the Linear Stochastic Differential Equation Model to State Space Model Parameterization