Description Usage Arguments Value Author(s) Examples
Method for forecasting from the GO-GARCH model.
1 2 | gogarchforecast(fit, n.ahead = 10, n.roll = 0,
external.forecasts = list(mregfor = NULL), cluster = NULL, ...)
|
fit |
A GO-GARCH fit object of class |
n.ahead |
The forecast horizon. |
n.roll |
The no. of rolling forecasts to create beyond the first one. |
external.forecasts |
A list with a matrix object of the external lagged forecasts (if used). These must contain (n.roll+1) x n.ahead forecasts. |
cluster |
A cluster object created by calling |
... |
. |
A goGARCHforecast
object containing details of the GO-GARCH
forecast.
Alexios Galanos
1 2 3 4 5 6 7 8 | ## Not run:
data(dji30ret)
spec = gogarchspec()
fit = gogarchfit(spec = spec, data = dji30ret[,1:4], out.sample = 10,
gfun = "tanh")
forecast = gogarchforecast(fit, n.ahead = 1, n.roll = 9)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.