You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
T = length(data)
windowsize = 1000
vars = similar(data); fill!(vars, NaN)
for t = windowsize+1:T-1
m = fit(GARCH{1, 1}, data[t-windowsize:t])
vars[t+1] = predict(m, :VaR; level=0.05)
end
Fitting these 7334 models takes 20 seconds :)
Having said that, I'm not necessarily opposed to the idea. I just lack the time at the moment. If somebody wants to take this up, they are more than welcome to.
It would be great if this package could provide some rolling estimation features. rugarch has this feature: https://cran.r-project.org/web/packages/rugarch/vignettes/Introduction_to_the_rugarch_package.pdf
The text was updated successfully, but these errors were encountered: