Fitting an ARIMA model
main topic
      

Box and Jenkins [2] present an interactive approach for fitting ARIMA models to time series. This iterative approach involves identifying the model, estimating the parameters, checking model adequacy, and forecasting, if desired. The model identification step generally requires judgment from the analyst.

1    First, decide if the data are stationary. That is, do the data possess constant mean and variance.

·    Examine a time series plot to see if a transformation is required to give constant variance.

·    Examine the ACF to see if large autocorrelations do not die out, indicating that differencing may be required to give a constant mean.

A seasonal pattern that repeats every kth time interval suggests taking the kth difference to remove a portion of the pattern. Most series should not require more than two difference operations or orders. Be careful not to overdifference. If spikes in the ACF die out rapidly, there is no need for further differencing. A sign of an overdifferenced series is the first autocorrelation close to -0.5 and small values elsewhere [10].

Use Stat > Time Series > Differences to take and store differences. Then, to examine the ACF and PACF of the differenced series, use Stat > Time Series > Autocorrelation and Stat > Time Series > Partial Autocorrelation.

2    Next, examine the ACF and PACF of your stationary data in order to identify what autoregressive or moving average models terms are suggested.

·    An ACF with large spikes at initial lags that decay to zero or a PACF with a large spike at the first and possibly at the second lag indicates an autoregressive process.

·    An ACF with a large spike at the first and possibly at the second lag and a PACF with large spikes at initial lags that decay to zero indicates a moving average process.

·    The ACF and the PACF both exhibiting large spikes that gradually die out indicates that both autoregressive and moving averages processes are present.

For most data, no more than two autoregressive parameters or two moving average parameters are required in ARIMA models. See [10] for more details on identifying ARIMA models.

3    Once you have identified one or more likely models, you are ready to use the ARIMA procedure.

·    Fit the likely models and examine the significance of parameters and select one model that gives the best fit. See Entering the ARIMA model.

·    Check that the ACF and PACF of residuals indicate a random process, signified when there are no large spikes. You can easily obtain an ACF and a PACF of residual using ARIMA's Graphs subdialog box. If large spikes remain, consider changing the model.

·    You may perform several iterations in finding the best model. When you are satisfied with the fit, go ahead and make forecasts.

The ARIMA algorithm will perform up to 25 iterations to fit a given model. If the solution does not converge, store the estimated parameters and use them as starting values for a second fit. You can store the estimated parameters and use them as starting values for a subsequent fit as often as necessary.