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 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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