BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hello SAS gurus,

My question is regarding SAS/ETS. Is there a way to force the forecasts to only produce positive numbers?

Also can you select a list of time series models the automatic models selection can choose from in TSFS?

Thanks,

AYDot
1 REPLY 1
udo_sas
SAS Employee
Hello AYDot -
The way I look at it is as follows: the forecasted values should be derived by the data which you have at hand - which could mean that you are creating negative forecast (if you are facing a negative trend for example).

If you have additional knowledge about the business question at hand (for example: when forecasting sales non-negative numbers might not make a lot of sense) you can go ahead and modify the output of the statistical forecasting engine in a post-process step.

As such you might want to consider the follow approach:
Start with creating forecasted values using SAS/ETS. If the prediction is negative simply set the values (prediction and confidence interval) to 0 using a data step for example.

Hope this makes sense.
Regards,
Udo

sas-innovate-2024.png

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.

 

Register now!

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
  • 1 reply
  • 1518 views
  • 0 likes
  • 2 in conversation