Predicts a time series from a fitted GARCH object.
Usage
## S3 method for class 'fGARCH':
predict(object, n.ahead = 10, trace = FALSE, \dots)
Arguments
n.ahead
an integer value, denoting the number of steps to be forecasted,
by default 10.
object
an object of class fGARCH as returned by the function
garchFit.
trace
a logical flag. Should the prediction process be traced? By
default trace=FALSE.
...
additional arguments to be passed.
Value
returns a data frame with the foloowing columns:
"meanForecast", meanError, and "standardDeviation".
The number of records equals the number of forecasting steps
n.ahead.