The VARMACOV subroutine computes the theoretical cross-covariance matrices for a stationary VARMA() model.
The input arguments to the VARMACOV subroutine are as follows:
specifies a matrix, , that contains the autoregressive coefficient matrices, where is the number of elements in the subset of the AR order and is the number of variables. All the roots of should be greater than one in absolute value, where is the finite order matrix polynomial in the backshift operator , such that . You must specify either phi or theta.
specifies a matrix that contains the moving average coefficient matrices, where is the number of the elements in the subset of the MA order. You must specify either phi or theta.
specifies a symmetric positive-definite covariance matrix of the innovation series. If sigma is not specified, then an identity matrix is used.
specifies the subset of the AR order. The quantity is defined as
where nrow(phi) is the number of rows of the matrix phi and ncol(phi) is the number of columns of the matrix phi.
If you do not specify p, the default subset is p.
For example, consider a 4-dimensional vector time series, and phi is a matrix. If you specify p=1 (the default, since ), the VARMACOV subroutine computes the theoretical cross-covariance matrices of VAR(1) as
If you specify p=2, the VARMACOV subroutine computes the cross-covariance matrices of VAR(2) as
Let phi be an matrix. If you specify p, the VARMACOV subroutine computes the cross-covariance matrices of VAR(3) as If you do not specify p, the VARMACOV subroutine computes the cross-covariance matrices of VAR(2) as
specifies the subset of the MA order. The quantity is defined as
where nrow(theta) is the number of rows of matrix theta and ncol(theta) is the number of columns of matrix theta.
If you do not specify q, the default subset is q.
The usage of q is the same as that of p.
specifies the length of lags, which must be a positive number. If , the VARMACOV computes the cross-covariance matrices from lag zero to lag . By default, lag = 12.
The VARMACOV subroutine returns the following value:
is a matrix that contains the theoretical cross-covariance matrices of the VARMA() model.
Consider the following bivariate () VARMA(1,1) model:
To compute the cross-covariance matrices of this model, you can use the following statements:
phi = { 1.2 -0.5, 0.6 0.3 }; theta= {-0.6 0.3, 0.3 0.6 }; sigma= { 1.0 0.5, 0.5 1.25}; call varmacov(cov, phi, theta, sigma) lag=3; Lag = {"0", "", "1", "", "2", "", "3", ""}; print Lag cov;
Figure 23.368: Cross-Covariance Matrix
Lag | cov | |
---|---|---|
0 | 12.403036 | 8.4702334 |
8.4702334 | 9.0377769 | |
1 | 11.098527 | 9.3828916 |
5.5703916 | 6.8934731 | |
2 | 8.626786 | 9.4739834 |
3.2377334 | 5.4102769 | |
3 | 5.6151515 | 8.0182666 |
1.1801416 | 3.5657231 |