statsmodels.tsa.forecasting.theta.ThetaModelResults.forecast¶
-
ThetaModelResults.
forecast
(steps: int = 1, theta: float = 2) → pandas.core.series.Series[source]¶ Forecast the model for a given theta
- Parameters
- Returns
Series
A Series containing the forecasts
Notes
The forecast is computed as
ˆXT+h|T=θ−1θb0[h−1+1α−(1−α)Tα]+˜XT+h|Twhere ˜XT+h|T is the SES forecast of the endogenous variable using the parameter α. b0 is the slope of a time trend line fitted to X using the terms 0, 1, …, T-1.
This expression follows from [1] and [2] when the combination weights are restricted to be (theta-1)/theta and 1/theta. This nests the original implementation when theta=2 and the two weights are both 1/2.
References