Programming the statistical procedures from SAS

PROC MIXED: Model Selection

Reply
Contributor
Posts: 57

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,

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.

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,

Ask a Question
Discussion stats
  • 3 replies
  • 3561 views
  • 0 likes
  • 3 in conversation