arima
Convert regression model with ARIMA errors to ARIMAX model
Description
Examples
Input Arguments
Output Arguments
Algorithms
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
,arima
returnsXNew
in a certain format. Suppose that the nonzero autoregressive lag term degrees ofMdl
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 polynomialsThe first column of
XNew
is Xβ.The second column of
XNew
is a sequence of a1NaN
s, and then the product whereColumn j of
XNew
is a sequence of ajNaN
s, and then the product whereThe last column of
XNew
is a sequence of apNaN
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 isThis implies that
ARIMAXMdl.Beta
is[1 -1.2 0.02 -0.05 0.05]
andXNew
iswhere xj is row j of X.
If you do not specify
X
,arima
returnsXNew
as an empty matrix without rows and one plus the number of nonzero autoregressive coefficients in the difference equation ofMdl
columns.
Version History
Introduced in R2013b