ExponentialSmoothingModel.Forecast Method

Definition

Namespace: Numerics.NET.Statistics.TimeSeriesAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.2.0

Overload List

Forecast() Returns the one step ahead forecast.
Forecast(Int32) Returns the forecast for the specified number of steps ahead.

Forecast(Int32)

Returns the forecast for the specified number of steps ahead.
C#
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.

This method is available when the model is fitted or deployed. It throws an InvalidOperationException if the model has not been fitted.

Exceptions

InvalidOperationException Thrown if the model has not been fitted.

See Also