Goal

Forecasting Workflow

The process of forecasting in Time Series data is broken into few steps:

Fitted Value and residuals

Residual Diagnostics

A good forecasting method will result in residuals with the following propoerties:

  1. [Necessary] The residuals are uncorrelated. If there are correlations between residuals, then there is information left in the residuals which should be used in computing forecasts.
  2. [Necessary] The residuals have zero mean. If the residuals have a mean other than zero, then the forecasts are biased.
  3. [Useful, but not Necessary] The residuals have constant variance.
  4. [Useful, but not Necessary] The residuals are normally distributed.

Any forecasting method that does not satisfy 1 & 2 properties can be improved, i.e., it is not using all the available information. Fixing the bias problem (2) is easy: if the residuals have mean "m", then simply add "m" to all forecasts and the bias problem is solved. Fixing the correlation problem is harder and will be discussed in Chapter 9.

Properties 3 & 4 make the calculation of prediction intervals easier. However, if a forecasting method does not satisfy 3 and 4, it may or may not be improved. Sometimes applying a Box-Cox transformation may help. But otherwise there is usually little that you can do to ensure 3 and 4. Instead, an alternative approach to obtaining prediction intervals is necessary.

Tools for Residual Analysis