Use in simulation
Time to get your hands dirty with an actual simulation of stock returns and corresponding volatility and prices. The model to simulate returns is simgarchspec
available in the R console.
Cet exercice fait partie du cours
GARCH Models in R
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Complete the code to simulate 4 time series of 10 years of daily returns
simgarch <- ___(spec = simgarchspec, m.sim = ___, n.sim = ___, rseed = 210)