BookmarkSubscribeRSS Feed
akilees
Calcite | Level 5

I'm new to SAS and studying a forecasting problem for the sales of a kind of soft drink.  I have about 20 variables(including week, price,  competitors price/volume, promotion dummy, holiday/season dummy) and 100 weeks data.

I used stepwise/forward/backward to select some variables first.  It turns out the best model is forward and I got about 10 variables from it.  Then I tried to do the pooled regression using proc mixed but I don't know what to put in random statement what to put in sub= etc.  I searched a lot and most examples only have two or three variables.  I got so confused, anyone can help me?

Thanks!!

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
  • 0 replies
  • 943 views
  • 0 likes
  • 1 in conversation