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.
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
GARCH Models in R
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ
ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์
# Complete the code to simulate 4 time series of 10 years of daily returns
simgarch <- ___(spec = simgarchspec, m.sim = ___, n.sim = ___, rseed = 210)