Learn R Programming

simStateSpace (version 1.2.15)

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

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Ivan Jacob Agaloos Pesigan

Last Published

February 6th, 2026

Functions in simStateSpace (1.2.15)

SSMInterceptY

Intercept from Steady-State Mean Vector for the Observed Variables in the State Space Model
SimAlphaN

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

Steady-State Mean Vector for the Latent Variables in the State Space Model
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
SimBetaN2

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

Simulate Transition Matrices from the Multivariate Normal Distribution
SimIotaN

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

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

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

Simulate Random Drift Matrices from the Multivariate Normal Distribution
SimPhiN2

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

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

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

Simulate Random Drift Matrices with a Covariate 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
SimSSMLinSDEFixed

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

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

Test the Drift Matrix
SimSSMOUIVary

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

Spectral Abscissa
TestPhiHurwitz

Test Hurwitz Stability of a Drift Matrix
SimSSMVARIVary

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

Test Stationarity
SimSSMOUFixed

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

Simulate Data from the Vector Autoregressive Model (Fixed Parameters)
SpectralRadius

Spectral Radius
TestStability

Test Stability
simStateSpace-package

simStateSpace: Simulate Data from State Space Models
plot.simstatespace

Plot Method for an Object of Class simstatespace
print.simstatespace

Print Method for an Object of Class simstatespace
as.data.frame.simstatespace

Coerce an Object of Class simstatespace to a Data Frame
as.matrix.simstatespace

Coerce an Object of Class simstatespace to a Matrix
SSMInterceptEta

Intercept from 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
ProjectToStability

Project Matrix to Stability
LinSDECovY

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

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

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

Project Matrix to Hurwitz Stability
LinSDE2SSM

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

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