MulaiMulai sekarang secara gratis

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.

Latihan ini adalah bagian dari kursus

GARCH Models in R

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Complete the code to simulate 4 time series of 10 years of daily returns
simgarch <- ___(spec = simgarchspec, m.sim = ___, n.sim = ___, rseed = 210) 
Edit dan Jalankan Kode