:exclamation: This is a read-only mirror of the CRAN R package repository. quarks — Simple Methods for Calculating and Backtesting Value at Risk and Expected Shortfall
There is an nwin argument to rollcast function. On first I thought this argument is used for rolling window, but when I check the code, it seems to me it is just used to subsample the whole sample. For example, if there are 1000 observations and I set nwin to 100, only 100 observations would be used and other discarded (if we ignore nout argument).
What I am interested in is rolling windows, that is backtesting. For example, I would like to use 100 tolling windows, than forecast for next time step (minute or hour) or multiple steps and check in the end how good are the forecasts.
I usually use runner package for this kind of tasks, but just want to be sure quarks package doesn't already have this kind oh feature.
Hi,
Thanks for the nice package.
There is an nwin argument to rollcast function. On first I thought this argument is used for rolling window, but when I check the code, it seems to me it is just used to subsample the whole sample. For example, if there are 1000 observations and I set nwin to 100, only 100 observations would be used and other discarded (if we ignore nout argument).
What I am interested in is rolling windows, that is backtesting. For example, I would like to use 100 tolling windows, than forecast for next time step (minute or hour) or multiple steps and check in the end how good are the forecasts.
I usually use runner package for this kind of tasks, but just want to be sure quarks package doesn't already have this kind oh feature.