BookmarkSubscribeRSS Feed
Strachan
Calcite | Level 5

I am trying to prep my data for an ARIMA forecasting procedure. Must i have one line per date? I would like a forecast for a total count of units, however need to maintain the level of detail that allows me to dis-aggregate by unit type, state, and retailer. Do I need to set up the data such that I do a forecast for each combination of my detail?

1 REPLY 1
udo_sas
SAS Employee

Hello -

You can find an example here: http://support.sas.com/documentation/cdl/en/etsug/66100/HTML/default/viewer.htm#etsug_tsdata_sect004...

and more information here: http://support.sas.com/documentation/cdl/en/etsug/66100/HTML/default/viewer.htm#etsug_tsdata_sect004...

In order to introduce hierarchies like type, state, retailer you will need to use BY variables. See:  http://support.sas.com/documentation/cdl/en/etsug/66100/HTML/default/viewer.htm#etsug_tsdata_sect024...

If you check out the SASHELP.PRICEDATA sample data set, you will get an impression of the structure needed.

Thanks,

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
  • 873 views
  • 0 likes
  • 2 in conversation