Skip to content
Prev 11578 / 15274 Next

rugarch VaR calculation "manually"

well but this is exactly the point, that

ugarchforecast(alvnomodelgarch, n.ahead = 1)

just gives me one forecast, but I want to have this from my beginning
of the time series up to the end. So I do not want to exclude these
observations in my fitting. I want to use all observations for my
fitting and then do one step ahead in sample predictions. So e.g. I
have a time series of 1000 observations. I to the fitting with the
1000 observations and then I want to predict the one step ahead
in-sample forecasts of the cond. mean and the cond. volatility?

I do not understand the thing with the fitted and the sigma. Correct
me if I am wrong, but these are the fitted values, these are not
1-step-ahead forecasts?

I try to give a more simpler example to make the understanding easier:
consider a simple linear regression:
The fitted values of y at time point t use the realization of x at
time point t. The one step ahead forecast uses the realization of
timepoint minus 1.

So I do NOT want to have the fitted values of the cond. volatility and
the cond. mean (in my case the cond. mean is zero, because I have
specified no model for it), but the one step ahead forecasts of it. So
R should do the n.ahead=1 not only for the last value, but from the
beginning up to the end?

I mean I only get the forecast of the next day, the 2013-03-04, but I
want to have it from the beginning up to the end?






2013/5/8 alexios ghalanos <alexios at 4dscape.com>: