BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
AnalytX
Fluorite | Level 6

Dear All,

Is it possible to automatize the model selection (based on variable selection) in PROC MIXED (such as "selection" option in PROC REG for instance)?

Thnaking you in advance for your answer.

Best,

1 ACCEPTED SOLUTION

Accepted Solutions
SteveDenham
Jade | Level 19

It is not possible without going the macro route.  There is a reason for that.  Please review the article by Peter Flom and David Cassell at http://www.nesug.org/proceedings/nesug07/sa/sa07.pdf , regarding the dangers of stepwise/forward/backward/all possible subset variable selection methods.

Now, there is GLMSELECT to work on selecting fixed effects using LASSO or LAR methods.  Also, check the discussion referenced by regarding selection of covariance structures and ranking of models using information criteria.

Steve Denham

View solution in original post

3 REPLIES 3
AncaTilea
Pyrite | Level 9

Hi,

I don't think there is a selection = .... option in the model statement of the PROC MIXED.

Below is a paper that provides some macro that would do model selection - but be cautious.

http://www2.sas.com/proceedings/forum2007/191-2007.pdf

And another discussion in this forum, related:

Best of luck,

Anca.

SteveDenham
Jade | Level 19

It is not possible without going the macro route.  There is a reason for that.  Please review the article by Peter Flom and David Cassell at http://www.nesug.org/proceedings/nesug07/sa/sa07.pdf , regarding the dangers of stepwise/forward/backward/all possible subset variable selection methods.

Now, there is GLMSELECT to work on selecting fixed effects using LASSO or LAR methods.  Also, check the discussion referenced by regarding selection of covariance structures and ranking of models using information criteria.

Steve Denham

AnalytX
Fluorite | Level 6

Thanks a lot for your answers and advises. I will try you proposals.

Regards,

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

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