# NOT RUN {
# Generates 10 series, each one with 500 observations and 2 regressors.
d_sim <- ltm_sim(
ns = 500, nk = 2, ni = 10,
vmu = matrix(c(.5,.5), nrow = 2),
mPhi = diag(2) * c(.99, .99),
mSigs = c(.1,.1),
dsig = .15,
vd = matrix(c(.4,.4), nrow = 2),
alpha = 0
)
str(d_sim)
# }
Run the code above in your browser using DataLab