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.
Bu egzersiz
GARCH Models in R
kursunun bir parçasıdırUygulamalı interaktif egzersiz
Bu örnek kodu tamamlayarak bu egzersizi bitirin.
# Complete the code to simulate 4 time series of 10 years of daily returns
simgarch <- ___(spec = simgarchspec, m.sim = ___, n.sim = ___, rseed = 210)