regARIMA
Create regression model with ARIMA time series errors
Description
The regARIMA
function returns a regARIMA
object specifying the functional form and storing the parameter values of a regression model with ARIMA time series
errors for a univariate response process
yt.
Because they completely specify the model structure, the key components of a
regARIMA
object are the:
Regression model coefficients c and β
Polynomial degrees of the ARIMA disturbances ut, for example, the AR polynomial degree p and the degree of integration D
Given only polynomial degrees, the regression model contains only a constant.
All parameters, such as the model constant, and error model coefficients and
innovation-distribution parameters, are unknown and estimable unless you specify their values.
regARIMA
determines the number of coefficients in the regression model
by the number of variables in the supplied predictor data or by other specifications.
To estimate a model containing unknown parameter values, pass the model and data to the
estimate
object function. To work with an estimated or fully specified
regARIMA
object, pass it to an object function.
Alternatively, you can:
Create and work with
regARIMA
model objects interactively by using Econometric Modeler.Create a standard ARIMA model containing exogenous predictors (ARIMAX). For more details, see the
arima
function and Alternative ARIMA Model Representations.Create a Bayesian linear regression model by using the
bayeslm
function.
Creation
Description
creates a regression model
containing degree 0 ARIMA disturbances. The regression model contains an intercept; the
software determines the number of regression coefficients when you fit the model to data
by using Mdl
= regARIMAestimate
. The innovations are iid Gaussian
random variables with a mean of 0 and unknown variance.
creates a regression model with
ARIMA(Mdl
= regARIMA(p
,D
,q
)p
,D
,q
)
disturbances. The disturbance model contains nonseasonal AR polynomial lags from 1 through
p
, a degree D
nonseasonal integration polynomial,
and nonseasonal MA polynomial lags from 1 through q
. The regression
model contains an intercept; the software determines the number of regression coefficients
when you fit the model to data by using estimate
. The innovations are iid Gaussian random variables with a mean of 0
and unknown variance.
This shorthand syntax provides an easy way to create a model template in which you specify the degrees of the nonseasonal polynomials explicitly. The model template is suited for unrestricted parameter estimation. After you create a model, you can alter property values using dot notation.
sets properties and polynomial lags
using name-value arguments. For example, Mdl
= regARIMA(Name=Value
)regARIMA(ARLags=[1 4],AR={0.5
–0.1})
creates a regression model containing an unknown model intercept and
innovations variance, and AR(4) disturbances, where the lag 1 nonseasonal AR coefficient
is –0.5
and the lag 4 nonseasonal AR coefficient is
0.1
.
This longhand syntax allows you to create more flexible models. For example, you can
create a regression model with seasonal errors by using only longhand syntax.
regARIMA
infers all disturbance model polynomial degrees from the
properties that you set. Therefore, property values that correspond to polynomial degrees
must be consistent with each other.
Input Arguments
Name-Value Arguments
Properties
Object Functions
estimate | Fit univariate regression model with ARIMA errors to data |
infer | Infer residuals of univariate regression model with ARIMA time series errors |
summarize | Display estimation results of regression model with ARIMA errors |
simulate | Monte Carlo simulation of univariate regression model with ARIMA time series errors |
filter | Filter disturbances through regression model with ARIMA errors |
impulse | Generate regression model with ARIMA errors impulse response function (IRF) |
forecast | Forecast responses of univariate regression model with ARIMA time series errors |
arima | Convert regression model with ARIMA errors to ARIMAX model |
Examples
More About
References
[1] Box, George E. P., Gwilym M. Jenkins, and Gregory C. Reinsel. Time Series Analysis: Forecasting and Control. 3rd ed. Englewood Cliffs, NJ: Prentice Hall, 1994.