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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Discussion stats
  • 1 reply
  • 1424 views
  • 0 likes
  • 2 in conversation