Displaying 1 result from an estimated 1 matches for "ttfore".
Did you mean:
before
2011 Dec 06
1
rugarch package: is this forecast correct?
...)))
tt = tail(rets["/2004-10-29"], 1000)
spec = ugarchspec(variance.model=list(garchOrder=c(1,1)),
mean.model=list(armaOrder=c(2,5)), distribution.model="sged")
for(ii in 1:10)
{
ttFit = ugarchfit( spec=spec, data=as.vector(tt), out.sample=0,
solver.control=list(trace=F) )
ttFore = ugarchforecast( ttFit, n.ahead=1, n.roll=0 )
print( as.array(ttFore)[,2,] )
}
Produces two different results: -0.001087313 and -0.001092084, each
repeated a few times.
What is the explanation for that? Since they are based on previous data, I
was expecting single step forecasts to produce th...