StatTimeSerAnalysis.TripleExpForecast Method

Overload List

#SignatureDescription
1procedure TripleExpForecast(const Y: TVec; const YHat: TVec; const Alpha: Double; const Beta: Double; const Gamma: Double; T: Integer; const Period: Integer);Triple exponential forecast.
2procedure TripleExpForecast(const Y: TVec; const YHat: TVec; var Alpha: Double; var Beta: Double; var Gamma: Double; const T: Integer; out MSE: Double; const Period: Integer);First estimate Alpha, Beta and Gamma parameters by triple exponential smoothing and then use returned values to forecast up to T periods.

Overload 1: procedure TripleExpForecast(const Y: TVec; const YHat: TVec; const Alpha: Double; const Beta: Double; const Gamma: Double; T: Integer; const Period: Integer);

Triple exponential forecast.

#NameDescription
1YTime series data set.
2YHatTime series forecasts. Size of the YHat vector are adjusted automatically.
3AlphaOveral smoothing parameter used for forecast.
4BetaTrend smoothing parameter used for forecast.
5GammaSeasonal smoothing parameter used for forecast.
6TForecast values up to T period.
7PeriodPeriod length. An exception is raised if Y.Length mod Period is not 0.

Result: stored in self (calling object)

Remarks:

The h period ahead forecast is given by:

F[t+h]=(S[t]+hb[t])L[tP].F[t+h] = (S[t]+h\cdot b[t])L[t-P] \quad .

where P is period length.

See Also: StatTimeSerAnalysis.TripleExpSmooth

Overload 2: procedure TripleExpForecast(const Y: TVec; const YHat: TVec; var Alpha: Double; var Beta: Double; var Gamma: Double; const T: Integer; out MSE: Double; const Period: Integer);

First estimate Alpha, Beta and Gamma parameters by triple exponential smoothing and then use returned values to forecast up to T periods.

#NameDescription
1MSEMSE, evaluated at minimum.
2YTime series data set.
3YHatTime series forecasts. Size of the YHat vector are adjusted automatically.
4AlphaOveral smoothing parameter used for forecast.
5BetaTrend smoothing parameter used for forecast.
6GammaSeasonal smoothing parameter used for forecast.
7TForecast values up to T period.
8PeriodPeriod length. An exception is raised if Y.Length mod Period is not 0.

Result: stored in self (calling object)

Remarks:

Use this routine if you don't know the best estimates for Alpha, Beta and Gamma.