1. 학습
  2. /
  3. 강의
  4. /
  5. GARCH Models in R

Connected

연습 문제

Fixing GARCH parameters

The parameters of a GARCH model are estimated by maximum likelihood. Because of sampling uncertainty, the estimated parameters have for sure some estimation error. If we know the true parameter value, it is therefore best to impose that value and not to estimate it.

Let's do this in case of the daily EUR/USD returns available in the console as the variable EURUSDret and for which an AR(1)-GARCH model with skewed student t distribution has already been estimated, and made available as the ugarchfit object called flexgarchfit.

지침

100 XP
  • Print the coefficient estimates of flexgarchfit.
  • Use the method setfixed() to specify the parameter restrictions that ar1 = 0 and skew = 1.
  • Estimate the model with the parameter restriction.
  • Complete the code to plot the two volatility series and note their similarity.