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.
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
GARCH Models in R
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ
ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์
# Compute the standardized returns
stdEURUSDret <- ___(tgarchfit, standardize = ___)
# Compute their sample mean and standard deviation
___(stdEURUSDret)
___(stdEURUSDret)