BookmarkSubscribeRSS Feed
Mercator
Calcite | Level 5
I'm running PROC REG usimg a model with about 125 variables. What I'd like to do is to be able to estimate the relative contribution of each variable to the Model Sums of Squares. The Type I SS add up to the MODEL SS, but I believe it is dependent on the order of the variables in the model statement. Does anyone know a way to get the variance components that is not affected by the order of variables in the MODEL statement?

Thanks!
3 REPLIES 3
Paige
Quartz | Level 8
Sadly, I don't think the question has a meaningful answer.

Unless your 125 variables are statistically uncorrelated with one another (I doubt you can do this), then they are correlated with one another, and you cannot treat them as uncorrelated and say this variable accounts for 5% of the response, and this variable accounts for 3.7% and so on.

This is not a problem with SAS. This is a problem with the question that is being asked in this situation.
statsplank
Calcite | Level 5
Hi,

If what you are interested in is contribution of each variable when all other variables are included in the model, then you can use Type III SS.
Paige
Quartz | Level 8
> If what you are interested in is contribution of each
> variable when all other variables are included in
> the model
, then you can use Type III SS.

Using the Type III SS to tell you the contribution to total variability explained of each individual variable is a nice idea, but it doesn't really make a lot of sense when you have 125 variables which are correlated with one another. In fact, I wouldn't recommend PROC REG in this case at all; instead I would use PROC PLS.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1036 views
  • 0 likes
  • 3 in conversation