Learn R Programming

simStateSpace (version 1.2.14)

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

Description

The steady-state covariance matrix for the latent variables in the state space model \(\mathrm{Cov} \left( \boldsymbol{\eta} \right)\) is given by $$ \mathrm{vec} \left( \mathrm{Cov} \left( \boldsymbol{\eta} \right) \right) = \left( \mathbf{I} - \boldsymbol{\beta} \otimes \boldsymbol{\beta} \right)^{-1} \mathrm{vec} \left( \boldsymbol{\Psi} \right) $$ where \(\boldsymbol{\beta}\) is the transition matrix relating the values of the latent variables at the previous to the current time point and \(\boldsymbol{\Psi}\) is the covariance matrix of volatility or randomness in the process.

Usage

SSMCovEta(beta, psi)

Arguments

beta

Numeric matrix. Transition matrix relating the values of the latent variables at the previous to the current time point (\(\boldsymbol{\beta}\)).

psi

Numeric matrix. The covariance matrix of the process noise (\(\boldsymbol{\Psi}\)).

Author

Ivan Jacob Agaloos Pesigan

See Also

Other Simulation of State Space Models Data Functions: LinSDE2SSM(), LinSDECovEta(), LinSDECovY(), LinSDEMeanEta(), LinSDEMeanY(), ProjectToHurwitz(), ProjectToStability(), SSMCovY(), SSMMeanEta(), SSMMeanY(), SimAlphaN(), SimBetaN(), SimBetaN2(), SimBetaNCovariate(), SimCovDiagN(), SimCovN(), SimIotaN(), SimNuN(), SimPhiN(), SimPhiN2(), SimPhiNCovariate(), SimSSMFixed(), SimSSMIVary(), SimSSMLinGrowth(), SimSSMLinGrowthIVary(), SimSSMLinSDEFixed(), SimSSMLinSDEIVary(), SimSSMOUFixed(), SimSSMOUIVary(), SimSSMVARFixed(), SimSSMVARIVary(), SpectralRadius(), TestPhi(), TestPhiHurwitz(), TestStability(), TestStationarity()

Examples

Run this code
beta <- matrix(
  data = c(
    0.7, 0.5, -0.1,
    0.0, 0.6, 0.4,
    0.0, 0.0, 0.5
  ),
  nrow = 3
)
psi <- 0.1 * diag(3)
SSMCovEta(
  beta = beta,
  psi = psi
)

Run the code above in your browser using DataLab