09-26-2016 08:00 AM
My question is "In order to stock the inventory, the store wants to analyze the sales data and predict the trend of total sales for each dress for an extended period of three more alternative days."
For this the supporting data that I have got is as follows :
Not sure exactly which approach to use here or how to go about this problem.
09-26-2016 08:14 AM
The first thing to do is, of course, to transpose your dataset (once it has been imported into SAS; it can't be a SAS dataset at the moment as a date is not a a valid SAS column name) so you end up with three columns: ID, date, sales.
Then you need to calculate the difference from previous to current observation, so you get the daily sales; use the lag() function for this.
Once that is done, you can calculate average sales for certain timespans, or see how sales spread over a week, etc, etc.
09-26-2016 09:23 AM
Since you have only a few observations at your disposal, you can proceed as follows
1. Transpose your dataset
2. Sum the columns to obtain total sales
3 . use a simple linear regression on a time trend with constant
4. Calculate the predicted values
09-26-2016 09:31 AM