Solved – Time Series Forecasting Equation for ARIMAX(1,0,2) model

arimaestimationforecastingrtime series

I am working on a time series model with exogenous regressors. I am using the ARIMA function in R which resulted in a ARIMA(1,0,2) model. I also need to forecast for the next 10 months using this model. I am using the R forecast package predict function for the same:

Forecast<- predict(model, newxreg = newxreg)

Since the model has a MA term and I am trying to forecast 10 months ahead of time, I do not have the information for the MA terms in future since I don't know the actuals. So how is the package providing the forecast results?

Can someone please help me understand how forecast package (predict function) in R is estimating the future residual terms and providing the forecasts??

Best Answer

In MA(q) the errors are treated like any other time series. Once you have fit your AR(1) model you have a time series of errors $\epsilon_{t}$, $\epsilon_{t-1}$, $\epsilon_{t-2}$...$\epsilon_{t-i}$. Parameters are selected for $\theta$ that best fit this time series of errors.

Your MA(q) equation is: $\epsilon_{t+j}$ = β$_{0}$ +$\theta_{1}$ε$_{t+j-1}$+ ...+ $\theta_{q}$ε$_{t+j-q}$

Once $\theta$ is know then you can use the above equation to estimate future values of $\epsilon$. Each predicted value of $\epsilon$ for example the predicted value $\epsilon_{t+1}$ becomes the input for the next estimate $\epsilon_{t+2}$. It's similar to estimating future values of $Y$ using AR, the estimated value of $Y_{t+i}$ then becomes the input for estimating $Y_{t+i+1}$.

Related Question