| simulate_varx | R Documentation |
This function generates a simulated multivariate VAR time series.
simulate_varx(n, k, p, m, nobs, rho,
sparsity_a1, sparsity_a2, sparsity_a3,
mu, method, covariance, ...)
n |
dimension of the time series. |
k |
TODO |
p |
number of lags of the VAR model. |
m |
TODO |
nobs |
number of observations to be generated. |
rho |
base value for the covariance matrix. |
sparsity_a1 |
density (in percentage) of the number of nonzero elements of the A1 block. |
sparsity_a2 |
density (in percentage) of the number of nonzero elements of the A2 block. |
sparsity_a3 |
density (in percentage) of the number of nonzero elements of the A3 block. |
mu |
a vector containing the mean of the simulated process. |
method |
which method to use to generate the VAR matrix. Possible values
are |
covariance |
type of covariance matrix to use in the simulation.
Possible values: |
... |
the options for the simulation. These are:
|
A a list of NxN matrices ordered by lag
data a list with two elements: series the multivariate time
series and noises the time series of errors
S the variance/covariance matrix of the process
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.