AIC is frequently recommended as criterion to compare models for time series forecasting. See for example this in the context of dynamic regression models:
The AIC can be calculated for the final model, and this value can be used to determine the best predictors. That is, the procedure should be repeated for all subsets of predictors to be considered, and the model with the lowest AICc value selected.
Why not compare the models based on their out-of-sample performance? (e.g. choose the model with lowest SSE in out-of-sample forecasting). I've been reading several textbooks and websites on time series forecasting and haven't found this discussion. The closest I got was this blog entry about the Facts and fallacies of the AIC:
The AIC is not really an “in-sample” measure. Yes, it is computed using the training data. But asymptotically, minimizing the AIC is equivalent to minimizing the leave-one-out cross-validation MSE for cross-sectional data, and equivalent to minimizing the out-of-sample one-step forecast MSE for time series models. This property is what makes it such an attractive criterion for use in selecting models for forecasting.
In an example I've been working (couldn't post the plots here, though; I need more reputation in this site), I tried both approaches and most of the time AIC and out-of-sample SSE do not yield the same result. The procedure I used was as follows:
- I divided the data in training and test samples (at an arbitrary point; a question about this below)
- I estimated competing models (ARIMA with external regressors, changing ARIMA parameters and the regressors) using the training sample (first 230 periods; all models have the same number of observations so AIC is comparable).
- Then, I forecasted the series for the same periods as the test sample (periods 231-260).
- For each model, I calculated simple SSE like $SSE=\sum_{t=231}^{260}(\widehat{y_t}-y_t)^2$ where $y_t$ is the observed value of the series (test sample) and $\widehat{y_t}$ is the value forecasted by the model.
- I compared the model indicated by AIC (computed using training data) with the model with lowest out-of-sample SSE. Most of the time the selected models are different (and at least visually, those selected by SSE perform better).
If someone could explain to me what is going on behind this I would be very grateful. I am clearly not an expert in this. I am just trying to teach myself a little, so please excuse if I overlooked something important in the textbooks I've been reading.
Finally, a question regarding splitting the data in training and test samples for time series. It seems to me there is something fundamentally different than using the same procedure for cross sectional data. For cross sectional data you can take two random samples from your whole dataset. For time series this does not make much sense. So, you need to take an arbitrary point to split the series in training and test samples. The thing is that usually the best model is different for every arbitrary point. Perhaps that's why this approach does not seem to be frequently used. Is this the reason why AIC is preferred for model selection? (Given that "asymptotically, minimizing the AIC is ... equivalent to minimizing the out-of-sample one-step forecast MSE for time series models".)