Class: regARIMA
Convert regression model with ARIMA errors to ARIMAX model
ARIMAX = arima(Mdl)
[ARIMAX,XNew]
= arima(Mdl,Name,Value)
The arima
object function converts a specified regression model with ARIMA errors (regARIMA
model object) to the equivalent ARIMAX model (arima
model object). To create an ARIMAX model directly, see arima
.
converts the univariate regression model with ARIMA time series errors ARIMAX
= arima(Mdl
)Mdl
to a model of type arima
including a regression component (ARIMAX).
[
returns an updated regression matrix of predictor data using additional options specified by one or more ARIMAX
,XNew
]
= arima(Mdl
,Name,Value
)Name,Value
pair arguments.
|
Regression model with ARIMA time series errors, as created by |
Specify optional
comma-separated pairs of Name,Value
arguments. Name
is
the argument name and Value
is the corresponding value.
Name
must appear inside quotes. You can specify several name and value
pair arguments in any order as
Name1,Value1,...,NameN,ValueN
.
|
Predictor data for the regression component of The last row of Each column of |
|
ARIMAX model equivalent to the regression model with ARIMA errors |
|
Updated predictor data matrix for the regression component of
Each column of |
Let X denote the matrix of concatenated predictor data vectors (or design matrix) and β denote the regression component for the regression model with ARIMA errors, Mdl
.
If you specify X
, then arima
returns XNew
in a certain format. Suppose that the nonzero autoregressive lag term degrees of Mdl
are 0 < a1 < a2 < ...< P, which is the largest lag term degree. The software obtains these lag term degrees by expanding and reducing the product of the seasonal and nonseasonal autoregressive lag polynomials, and the seasonal and nonseasonal integration lag polynomials
The first column of XNew
is Xβ.
The second column of XNew
is a sequence of a1
NaN
s, and then the product where
The jth column of XNew
is a sequence of aj
NaN
s, and then the product where
The last column of XNew
is a sequence of ap
NaN
s, and then the product where
Suppose that Mdl
is a regression model with ARIMA(3,1,0) errors, and ϕ1 = 0.2 and ϕ3 = 0.05. Then the product of the autoregressive and integration lag polynomials is
This implies that ARIMAX.Beta
is [1 -1.2 0.02 -0.05 0.05]
and XNew
is
where xj is the jth row of X.
If you do not specify X
, then arima
returns XNew
as an empty matrix without rows and one plus the number of nonzero autoregressive coefficients in the difference equation of Mdl
columns.