Take the 2-minute tour ×
Quantitative Finance Stack Exchange is a question and answer site for finance professionals and academics. It's 100% free, no registration required.

When using time-series analysis to forecast some type of value, what types of error analysis are worth considering when trying to determine which models are appropriate.

One of the big issues that may arise is that successive residuals between the 'forecast' and the 'realized' value of the variable may not be properly independent of one another as large amounts of data will be reused from one data point to its successive one.

To give an example, if you fit a GARCH model to forecast volatility for a given time horizon, the fit will use a certain amount of data, and the forecast is produced and then compared to whatever the realized volatility was observed for the given period of time, and it is then possible to find some kind of 'loss' value for that forecast.

Once everything moves forward a time period, assuming we refit (but even if we reuse the data parameters), there will be a very large overlap in all the data for this second forecast and realized volatility.

Since it is common to desire a model that minimises these 'losses' in some sense, how do you deal with the residuals produced in this way? Is there a way to remove the dependency? Are successive residuals dependent, and how could this dependency be measured? What tools exist to analyse these residuals?

share|improve this question

2 Answers 2

up vote 13 down vote accepted

I think you're looking for some way to test for autocorrelation in your residuals. If your model is good -- let's say you have an ARMA(1, 1) model for your forecast -- then the residuals from this model will be white noise. Which is to say that the difference between your forecast and the realization can not be predicted any better. The residual is some zero mean normally-distributed error.

Let's pick an extreme example. If your residual (the diff between forecast and realized) were always 1, then the residuals would be autocorrelated. Clearly if your model is always off by 1, then you can do better. So if the residuals in your model are autocorrelated, then you can do better.

The standard test for this these days in Ljung-Box, but in the past Box-Pierce and Durbin-Watson were also used.

share|improve this answer
better answer than mine, richardh. I would add that this model will help you deal with linear relationship (pearson autocorrelation) of your residual. But in theory you can remove any type of relationship between them. The only thing you need is to find a model for your residuals and add it to your original forecasting model to remove this deterministic part of the residuals. basically a good model is obtained when the residuals are really random. –  RockScience Feb 1 '11 at 4:07
Wow! So simple! –  Jase Jan 15 '13 at 11:15

I am not sure I clearly understand your question. But definitely you can do some analysis on the residuals, especially autocorrelation. If you find any significant autocorrelation, I suggest you add a ARMA process to your model to increase the accuracy of your forecast.

share|improve this answer
I think this is a case of using a faulty assumption to reach a wrong conculsion. –  Owe Jessen Feb 25 '11 at 15:08
What do you mean? –  RockScience Mar 1 '11 at 8:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.