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?
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
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.