BookmarkSubscribeRSS Feed
parmis
Fluorite | Level 6

Hello,

I'm using an expo model to forecast a variable monthly for a year. The problem is I get the exact same number for every month. I figured If I change the trend number to 2 or 3 then I get different forecast numbers every month but the forecast wouldn't be accurate. I have a constant model with a very slow moving trend so I thought trend=1 would be the right choise. any suggestions on how to handle this issue?

 

proc forecast data=have interval=month lead=12

method=expo weight=0.2 trend=1

out=want outset=est;

var price;

id date;

run;

Thanks!

2 REPLIES 2
mitrov
SAS Employee

PROC FORECAST is superseded by PROC ESM. PROC ESM optimizes the weights of the smoothing model. I recommend you use PROC ESM instead. 

SAS Innovate 2025: Call for Content

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!

Submit your idea!

Multiple Linear Regression in SAS

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.

Discussion stats
  • 2 replies
  • 909 views
  • 0 likes
  • 3 in conversation