GARCH Toolbox    

Computing a Forecast

This section discusses:

If the variables for the estimated model no longer exist in your workspace, then use the following commands to load the data and regenerate the estimation results of the default model. This example omits the estimation output to save space.

Using Default Inputs

Now call garchpred to compute the conditional mean and standard deviation return forecasts for the XYZ Corporation using the default model parameter estimates. Provide the specification structure coeff (the output of garchfit) and the XYZ Corporation return series xyz, as input. Accept the garchpred default (1) for the number of forecast periods.

The result consists of the MMSE forecasts of the conditional standard deviations and the conditional mean of the return series xyz for a one-period default horizon.

Forecasting Over a Longer Horizon

To obtain information about asymptotic behavior, you need to forecast for more more than a single period. Use the following command to forecast the conditional mean and standard deviation in each period of a 10-period forecast horizon.

The results show that the default model forecast of the conditional mean is always C = 0.00049183. This is true for any forecast horizon because the expected value of any innovation, t, is 0.

In contrast, the conditional standard deviation forecast changes from period to period and approaches the unconditional standard deviation of {t}, given by the square root of Eq. (2-7).

     (2-17)  

For this example, you can calculate the unconditional standard deviation of {t} as

Plot the conditional standard deviations, sigma, derived from the fitted returns. The plot reveals that the most recent values of t fall below this long-run, asymptotic value.

Figure 2-15: Fitted Conditional Standard Deviations

Long-Range Forecasting

That the most recent values of t fall below 1.2393e-002 indicates that the long-range forecast of t approaches this value from below. Confirm this by forecasting the standard deviations out 1000 periods, then plotting the forecasts (blue, dashed) and asymptotic value (red, solid) on the same graph.

Figure 2-16: Standard Deviation Forecasts and Asymptotic Value

You can see from Figure 2-16, Standard Deviation Forecasts and Asymptotic Value that it takes a very long time for the forecast to reach its steady-state value. This is consistent with the high degree of persistence in the volatility process for the XYZ Corporation (see Figure 2-9, ACF of the Squared Returns).

Forecasting Returns Over Multiple Periods

In addition to computing conditional mean and volatility forecasts on a per-period basis, garchpred also computes volatility forecasts of returns for assets held for multiple periods. For example, to forecast the standard deviation of the return you would obtain if you purchased XYZ stock today and sold it 10 days from now,

The vector sTotal (the second column above) represents the standard deviation forecasts of returns when the asset is held for multiple periods. The first element contains the standard deviation of the return expected if XYZ stock were held for one period, the second element contains the standard deviation of the return expected if XYZ stock were held for two periods, and so on. The last element contains the volatility forecast of the expected return if XYZ were purchased today and held for 10 periods.

If you convert the standard deviations sFcast and sTotal to variances by squaring each element, you can see an interesting relationship between the cumulative sum of sFcast.^2 and sTotal.^2.

Although not exactly equivalent, this relationship in the presence of heteroscedasticity is similar to the familiar square-root-of-time rule for converting constant variances of uncorrelated returns expressed on a per-period basis to a variance over multiple periods. This relationship between sFcast and sTotal holds for the default conditional mean model only (i.e., the relationship is valid for uncorrelated returns).

Note that the calculation of sTotal is strictly correct for continuously compounded returns only, and is an approximation for periodically compounded returns.


  Forecasting Computing Root Mean Square Errors (RMSE)