Arguments
N
dimension of the time series.
p
number of lags of the VAR model.
nobs
number of observations to be generated.
rho
base value for the covariance matrix.
sparsity
density (in percentage) of the number of nonzero elements of the VAR matrices.
mu
a vector containing the mean of the simulated process.
method
which method to use to generate the VAR matrix. Possible values
are "normal" or "bimodal".
covariance
type of covariance matrix to use in the simulation. Possible
values: "toeplitz", "block1", "block2" or simply "diagonal".