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,
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
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.
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
Thanks a lot for your answers and advises. I will try you proposals.
Regards,
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.