I want to implement simple exponential smoothing model to minimize mean square error by optimizing smoothing weights.
Data I am using is time series data.
I am using proc ESM .I wanted to know if proc ESM is the right approach for the same?
code:
proc esm data=solver out=p outest=u outstat=h outfor=k lead=1 print=all printdetails;
id date interval=year;
forecast ft; /* ft is column in dataset for which we are forecasting values */
run;
The results coming from TSFS of ETS and proc esm are same.(value of mean square error ,forecasted values and smoothing weights)
Hello -
Looks good - as the default model of PROC ESM is simple exponential smoothing.
If you would like to switch to a different ESM you can add a "model" option to your FORECAST statement.
For example:
forecast ft / model=DAMPTREND; /*for damped trend exponential smoothing */
For more detail check out: http://support.sas.com/documentation/cdl/en/etsug/68148/HTML/default/viewer.htm#etsug_esm_syntax04.h...
Thanks,
Udo
Hello -
Looks good - as the default model of PROC ESM is simple exponential smoothing.
If you would like to switch to a different ESM you can add a "model" option to your FORECAST statement.
For example:
forecast ft / model=DAMPTREND; /*for damped trend exponential smoothing */
For more detail check out: http://support.sas.com/documentation/cdl/en/etsug/68148/HTML/default/viewer.htm#etsug_esm_syntax04.h...
Thanks,
Udo
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.
Find more tutorials on the SAS Users YouTube channel.