Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Computing prediction intervals of Exponential Smoothing models #83

Open
amoralico opened this issue Jul 27, 2017 · 2 comments
Open

Computing prediction intervals of Exponential Smoothing models #83

amoralico opened this issue Jul 27, 2017 · 2 comments

Comments

@amoralico
Copy link

amoralico commented Jul 27, 2017

I'm not sure whether the way predcition/confidecne intervals is correct.
I think you must use the formulas that appear here
and here
(models ANN, AAN, AAA)

@pavolloffay
Copy link
Member

There are more variants of these algorithms if I remember correctly. As a reference I used some literature from Rob J Hyndman and also forecast package from R.

@amoralico
Copy link
Author

amoralico commented Jul 27, 2017

Yes of course. The general aproximation you use for prediction intervals :
predictValue +- Z95% * sqrt(var(residuals))
is correct, but the variance (var) is different for each model (simple, double and triple).
The last link I suggested (from Rob J Hyndman) shows how to compute these variances analitically, for the models you have implemented in the library (ANN = Simple, AAN = Double, AAA = Triple). I guess they are the Holt-Winters additive models.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants