sim.var | R Documentation |
Simulate a VAR(1) process; see the reference for the generation of the transition matrix.
sim.var(n, p, Gamma = diag(1, p), heavy = FALSE)
n |
sample size |
p |
dimension |
Gamma |
innovation covariance matrix; ignored if |
heavy |
if |
a list containing
data |
|
A |
transition matrix |
Gamma |
innovation covariance matrix |
Barigozzi, M., Cho, H. & Owens, D. (2024+) FNETS: Factor-adjusted network estimation and forecasting for high-dimensional time series. Journal of Business & Economic Statistics (to appear).
Owens, D., Cho, H. & Barigozzi, M. (2024+) fnets: An R Package for Network Estimation and Forecasting via Factor-Adjusted VAR Modelling. The R Journal (to appear).
idio <- sim.var(500, 50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.