[ENH] add ExponentialSmoothing predictor which is able to calculate confidence intervals
See original GitHub issueIs your feature request related to a problem? Please describe. Sktime does not have exponential smoothing predictor which is able to calculate confidence intervals.
Describe the solution you’d like
Include ExponentialSmoothing from statsmodels.statespace in sktime predictors as StateSpaceExponentialSmoothing.
Describe alternatives you’ve considered
Additional context At the moment sktime includes Holt Winter’s exponential smoothing implementation that covers multiplicative trend and seasonal components, but can output pointwise estimations only.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
ENH: Add Prediction Intervals to Holt-Winters class #6359
Please describe I'd like for statsmodels holt-winters (HW) class to calculate prediction intervals (PI). Describe the solution you'd like ...
Read more >Confidence intervals for exponential smoothing
I'm using exponential smoothing (Brown's method) for forecasting. The forecast can be calculated for one or more steps (time intervals). Is ...
Read more >Exponential Smoothing with Confidence Intervals - YouTube
Demonstrates Exponential Smoothing using a SIPmath model. SIPmath available free at ProbabilityManagement.Org. Contact me for a copy of the ...
Read more >Release 0.12.0 - Statsmodels
Hypothesis tests, confidence intervals and power functions have been added for proportions from two independent samples.
Read more >How to take confidence interval of statsmodels.tsa.holtwinters ...
ETSModel includes more parameters and more functionality than ExponentialSmoothing . To calculate confidence intervals, I suggest you to use ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

(Jumping in with some statsmodels detective work)
I had a look at the code and it looks like
statsmodelsare calculating prediction intervals for state space exponential smoothing models using either the analytical formulas that are based on the the forecast variance (formulas are available for a subset of ETS models) or the simulation technique (i.e. create multiple simulated forecasts by sampling the error terms from the appropriate distribution). This is consistent with the literature (checked Hyndman et al. (2008))@fkiraly - slightly off-topic but I think adding a
simulatemethod for forecasters that support generating simulated forecasts will be a good feature and we can then have have a single function that generates the prediction intervals using simulations. Example from statsmodels -> simulateThe benefits of using simulations for prediction intervals as well as all the available theoretical formulas for ETS models are in Chapter 6 of Hyndman et al. (2008)
Ref: Hyndman, R. J., Koehler, A. B., Ord, J. K., & Snyder, R. D. (2008). Forecasting with exponential smoothing: The state space approach. Springer-Verlag. http://www.exponentialsmoothing.net
Thank you for pointing this out. The documentation is definitely calls them confidence intervals, but I guess I’d better check the statsmodels code to be sure.