CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

GARCH Models in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Compute the standardized returns
stdEURUSDret <- ___(tgarchfit, standardize = ___)
 
# Compute their sample mean and standard deviation
___(stdEURUSDret)
___(stdEURUSDret)
Modifier et exécuter le code