Programming the statistical procedures from SAS

PROC MIXED: Model Selection

Accepted Solution Solved
Reply
Contributor
Posts: 57
Accepted Solution

PROC MIXED: Model Selection

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,


Accepted Solutions
Solution
‎07-05-2017 08:41 AM
Respected Advisor
Posts: 2,655

Re: PROC MIXED: Model Selection

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


All Replies
Super Contributor
Posts: 543

Re: PROC MIXED: Model Selection

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.

Solution
‎07-05-2017 08:41 AM
Respected Advisor
Posts: 2,655

Re: PROC MIXED: Model Selection

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

Contributor
Posts: 57

Re: PROC MIXED: Model Selection

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

Regards,

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

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