Aan de slagGa gratis aan de slag

Correlogram and Ljung-Box test

Let's test the validity of a constant mean standard GARCH(1,1) model with student t distribution for the daily EUR/USD returns. The model is already estimated and available as tgarchfit.

Deze oefening maakt deel uit van de cursus

GARCH Models in R

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Compute the standardized returns
stdEURUSDret <- ___(tgarchfit, standardize = ___)
 
# Compute their sample mean and standard deviation
___(stdEURUSDret)
___(stdEURUSDret)
Code bewerken en uitvoeren