Does vensim have a Holt-Winters type triple exponential smoothing function for forecasting a times series that has seasonality.
Seasonality of the data series is critical to my model hence I want to be able to forecast this as accurately as possible within the exogenous data time series.
Any comments or advice is welcomed.
George
Exponential Smoothing for time series with seasonality
-
- Member
- Posts: 28
- Joined: Tue Feb 10, 2015 1:19 pm
- Vensim version: DSS
Re: Exponential Smoothing for time series with seasonality
I did this once using a macro, so it certainly can be done, but I'm away from my office at the moment so I can't post it.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
-
- Member
- Posts: 28
- Joined: Tue Feb 10, 2015 1:19 pm
- Vensim version: DSS
Re: Exponential Smoothing for time series with seasonality
Thanks Tom. I am looking forward to see this when you are able to post it.
George
George
Re: Exponential Smoothing for time series with seasonality
Here it is. I couldn't find my original, so I had to reconstruct it.
This is similar to https://www.otexts.org/fpp/7/5, but that's discrete time and dimensionally inconsistent unless you add a bunch of implicit time constants.
I think my approach is mathematically very similar, if not identical, when TIME STEP=1.
Hope this is helpful.
This is similar to https://www.otexts.org/fpp/7/5, but that's discrete time and dimensionally inconsistent unless you add a bunch of implicit time constants.
I think my approach is mathematically very similar, if not identical, when TIME STEP=1.
Hope this is helpful.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Re: Exponential Smoothing for time series with seasonality
I should add that this requires arrays for the seasonal bins. If you're only smoothing, or forecasting at integer multiples of the seasonal period, you could get by with a DELAY FIXED instead of the array, which would permit making this into a macro.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
-
- Member
- Posts: 28
- Joined: Tue Feb 10, 2015 1:19 pm
- Vensim version: DSS
Re: Exponential Smoothing for time series with seasonality
Hello Tom,
Thanks for the help.
I did not see a file/function to look at, only the web link explaining the method was visible.
Thanks for the help.
I did not see a file/function to look at, only the web link explaining the method was visible.
Re: Exponential Smoothing for time series with seasonality
Oops. Duh.
Sorry!/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
-
- Member
- Posts: 28
- Joined: Tue Feb 10, 2015 1:19 pm
- Vensim version: DSS
Re: Exponential Smoothing for time series with seasonality
Thanks Tom. Am going to have a look at it.
-
- Junior Member
- Posts: 4
- Joined: Sun Mar 12, 2023 11:53 am
- Vensim version: PLE
Re: Exponential Smoothing for time series with seasonality
Hi Tom,
Thank you for sharing. I'm reaching out to inquire about the feasibility of implementing seasonal forecasting functionality on the PLE version. You had mentioned using the DELAY FIXED in this context; could you please share more details on how to utilize it?
The aim of my model is to predict the next shipment time so as to set the safety stock accordingly. Shipment times are influenced by a variety of factors and show seasonal trends, being longer in summer and winter, and shorter in spring. Therefore, I am looking to embed a seasonal forecasting module (using the Holt-Winters method) into the model to predict the next shipment time based on historical shipment data.
Moreover, the variables I have set up to record shipment times include instances of zero data, indicating periods without shipping tasks. In such cases, how should I go about selecting non-zero data for prediction purposes?
Please find details about my base model in the attachment.
Looking forward to your insights.
Best, Xuanao
- Attachments
-
- model.mdl
- (6.08 KiB) Downloaded 116 times