Exercise

Standardized returns

A complete GARCH model requires to make an assumption about the distribution of the standardized returns. Once the model has been estimated you can verify the assumption by analyzing the standardized returns.

In this exercise your work begins after the estimation. The output from estimating the GARCH model using ugarchfit() is available as the variable garchfit in the console. The analyzed return series is available as the variable ret.

Instructions

100 XP
  • Use the method residuals() to compute the standardized returns.
  • Do the same using the methods fitted() and sigma() to compute the standardized returns.
  • Load the package PerformanceAnalytics and use chart.Histogram to plot the histogram of the standardized returns, together with the normal and actual density plots.