SimBetaN | R Documentation |
This function simulates random transition matrices
from the multivariate normal distribution.
The function ensures that the generated transition matrices are stationary
using TestStationarity()
.
SimBetaN(n, beta, vcov_beta_vec_l)
n |
Positive integer. Number of replications. |
beta |
Numeric matrix.
The transition matrix ( |
vcov_beta_vec_l |
Numeric matrix.
Cholesky factorization ( |
Ivan Jacob Agaloos Pesigan
Other Simulation of State Space Models Data Functions:
LinSDE2SSM()
,
SimPhiN()
,
SimSSMFixed()
,
SimSSMIVary()
,
SimSSMLinGrowth()
,
SimSSMLinGrowthIVary()
,
SimSSMLinSDEFixed()
,
SimSSMLinSDEIVary()
,
SimSSMOUFixed()
,
SimSSMOUIVary()
,
SimSSMVARFixed()
,
SimSSMVARIVary()
,
TestPhi()
,
TestStability()
,
TestStationarity()
beta <- matrix(
data = c(
0.7, 0.5, -0.1,
0.0, 0.6, 0.4,
0, 0, 0.5
),
nrow = 3
)
n <- 10
vcov_beta_vec_l <- t(chol(0.001 * diag(9)))
SimBetaN(n = n, beta = beta, vcov_beta_vec_l = vcov_beta_vec_l)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.