hi ..I'm trying to fit a Forecast Model using Proc Forecast. I would like to translate the Estimates into equation. Could anyone help me to code the equation and how Forecast Values in the output are calculated.
Attached is the data and forecast values (got using Method=Expo Trend=2 lead=3).
Thanks,
Karteek
Hello Karteek -
Would you mind to send your PROC FORECAST code as well?
Thanks,
Udo
Hello -
Never mind my earlier response - I guess you are running something like this (otherwise please do mind my earlier response :smileylaugh:):
proc forecast data=have method=expo trend=2 outall outest=est lead=3;
id time;
var actual;
run;
You will find plenty of details of how the EXPO method of the FORECAST procedure works, here: http://support.sas.com/documentation/cdl/en/etsug/63939/HTML/default/viewer.htm#etsug_forecast_sect0...
(scroll down to EXPO Method). In particular you will find how to interpret the values of the OUTEST data set.
May I also suggest to have a look at the ESM procedure instead - for your data set the code will look similar to this (I'm proposing to consider a DAMPTREND model, but you can change that of course):
proc esm data=have out=outesm lead=3 outest=est2 plot=forecasts back=3;
id time interval=obs;
forecast actual / method=damptrend;
run;
which results in:
Note that in this case the parameters listed in the OUTEST data set are easier to read:
Thanks,
Udo
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.