Consider the vector autoregressive moving average (VARMA) model
where
denotes a vector of
time series and
is a vector of
residual series having zero mean and a constant variance-covariance matrix. The components of
are also assumed to be uncorrelated at non-simultaneous lags.
denotes a sequence of
matrices of autoregressive (AR) parameters and
denotes a sequence of
matrices of moving average (MA) parameters.
is a vector of length
containing the series means. Let
where
denotes the
identity matrix.
The model
(1) is said to be stationary if the eigenvalues of
lie inside the unit circle. Similarly let
Then the model is said to be invertible if the eigenvalues of
lie inside the unit circle.
-
1:
– Integer
Input
-
On entry: , the dimension of the multivariate time series.
Constraint:
.
-
2:
– Integer
Input
-
On entry: the number of AR (or MA) parameter matrices, (or ).
Constraint:
.
-
3:
– const double
Input
-
On entry: the AR (or MA) parameter matrices read in row by row in the order (or ). That is,
must be set equal to the th element of , for (or the
th element of , for ).
-
4:
– double
Output
-
On exit: the real parts of the eigenvalues.
-
5:
– double
Output
-
On exit: the imaginary parts of the eigenvalues.
-
6:
– double
Output
-
On exit: the moduli of the eigenvalues.
-
7:
– NagError *
Input/Output
-
The
NAG error argument (see
Section 7 in the Introduction to the
NAG Library CL Interface).
The accuracy of the results depends on the original matrix and the multiplicity of the roots.
Background information to multithreading can be found in the
Multithreading documentation.
Please consult the
X06 Chapter Introduction for information on how to control and interrogate the OpenMP environment used within this function. Please also consult the
Users' Note for your implementation for any additional implementation-specific information.