Learn R Programming

simStateSpace (version 1.2.14)

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

Description

The steady-state covariance matrix for the latent variables in the linear stochastic differential equation model \(\mathrm{Cov} \left( \boldsymbol{\eta} \right)\) is the solution to the Sylvester equation, i.e. $$ \mathbf{A} \mathbf{X} + \mathbf{X} \mathbf{B} + \mathbf{C} = \mathbf{0} , $$ where \(\mathbf{X}\) is unknown, \(\mathbf{A} = \boldsymbol{\Phi}\), \(\mathbf{B} = \boldsymbol{\Phi}^{\prime}\), and \(\mathbf{C} = \boldsymbol{\Sigma}\) where \(\boldsymbol{\Phi}\) is the drift matrix and \(\boldsymbol{\Sigma}\) is the covariance matrix of volatility or randomness in the process.

Usage

LinSDECovEta(phi, sigma)

Arguments

phi

Numeric matrix. The drift matrix which represents the rate of change of the solution in the absence of any random fluctuations (\(\boldsymbol{\Phi}\)).

sigma

Numeric matrix. The covariance matrix of volatility or randomness in the process (\(\boldsymbol{\Sigma}\)).

Author

Ivan Jacob Agaloos Pesigan

See Also

Other Simulation of State Space Models Data Functions: LinSDE2SSM(), LinSDECovY(), LinSDEMeanEta(), LinSDEMeanY(), ProjectToHurwitz(), ProjectToStability(), SSMCovEta(), 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
phi <- matrix(
  data = c(
    -0.357, 0.771, -0.450,
    0.0, -0.511, 0.729,
    0.0, 0.0, -0.693
  ),
  nrow = 3
)
sigma <- matrix(
  data = c(
    0.24455556, 0.02201587, -0.05004762,
    0.02201587, 0.07067800, 0.01539456,
    -0.05004762, 0.01539456, 0.07553061
  ),
  nrow = 3
)
LinSDECovEta(
  phi = phi,
  sigma = sigma
)

Run the code above in your browser using DataLab