Garch Model.Forecast Method
Definition
Namespace: Extreme.Statistics.TimeSeriesAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Forecast() | Returns the one step ahead forecast. |
Forecast( | Returns the forecast for the specified number of steps ahead. |
Forecast( | Returns the forecast for the specified number of steps ahead. |
Forecast(Int32)
Returns the forecast for the specified number of steps ahead.
public override Vector<double> Forecast(
int steps
)
Parameters
- steps Int32
- The number of forecasts to return.
Return Value
Vector<Double>A vector containing the forecast value for the time series.
Remarks
Note that the first element of the return value, with index 0, is the one step ahead forecast.
Forecast(Int32, Vector<Double>, Vector<Double>)
Returns the forecast for the specified number of steps ahead.
public Vector<double> Forecast(
int steps,
Vector<double> responses,
Vector<double> variances
)
Parameters
- steps Int32
- The number of forecasts to return.
- responses Vector<Double>
- Vector that contains the pre-sample responses.
- variances Vector<Double>
- Vector that contains the pre-sample variances.
Return Value
Vector<Double>A vector with steps elements that contains the forecasts for the variance of the series.
Remarks
Either or both responses and variances may be null. Only the last q responses are actually used, where q is .