Get startedGet started for free

ugarchroll arguments

The ugarchroll function is instrumental for rolling volatility prediction and avoiding look-ahead bias by conditioning the estimation to using only the returns available at the past time of estimation.

The ugarchroll gives the user flexibility in implementing the rolling estimation through the arguments n.start, refit.window and refit.every. {r} garchroll <- ugarchroll(tgarchspec, data = EURUSDret, n.start = ___, refit.window = ___, refit.every = ___)


Which values should these arguments have in case the estimation sample consists of the 2000 most recent observations and the modeler only wants to re-estimate the model every 500 observations?

This exercise is part of the course

GARCH Models in R

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise