0
$\begingroup$

I would like to generate 21 day ahead forecast volatility with ugarchroll. I know it is similar to ugarchforecast with the exception that ugarchroll is a rolling average which considers initially the last n.start points to generate one sample ahead. While ugarchforecast is not rolling. I tried to coded as follows:

ugfit_roll <- ugarchroll(ug_spec, EURUSD, n.start = 3000, refit.every = 1000, refit.window = "moving", forecast.length = 21)
garchpreds <- as.data.frame(ugfit_roll)

however, I am not able to see the 21 points in the future..my data are 5600 samples ending 24/07/2020, afetr running the above function I was expecting to see from "View(garchpreds)" the data ending 17/08/2020..but it is not like that and I still see 24/07/2020. What is it going wrong? thanks for helping. Luigi

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.