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

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!

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
  • 10996 views
  • 0 likes
  • 3 in conversation