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

Innovate_SAS_Blue.png

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. 

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