Function to fit VAR mole of the form:
Δ^d y_t = C + ∑_{i=1}^p A_i Δ^d y_{t-i} + ε_t
where C is a K-dimensional vector of parameters and A_1,...,A_p are K\times K matrices of autoregressive parampeters.
1 | simpleVAR(y, p = 1, d = 0)
|
y |
a matrix containing the multivariate timeseries |
p |
Integer for the lag order (default is p=1) |
d |
Degree of differencing (default is d=0) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.