BookmarkSubscribeRSS Feed
393310
Obsidian | Level 7

Hi all, 

 

Does anyone have any advice as to how I can automatically select the best model in proc glimmix? I am looking at longitudinal data with repeated measures and my outcomes are ordinal. I have 20 explanatory variables. To my understanding, glimmix does not have the option to do stepwise selection so is there another procedure that would work for this type of data and allows stepwise selection? 

 

Would I be able to use GLMselect to select the predictors for the model then run those in glimmix? Or would the fact that GLM select does not take into account the repeated measures give inaccurate results?

 

Thanks in advance!

1 REPLY 1
PaigeMiller
Diamond | Level 26

There is this: https://support.sas.com/resources/papers/proceedings14/1822-2014.pdf

 

However, I have to disagree with your statement that implies stepwise produces the best model. It does no such thing, it has many many drawbacks that you need to be aware of.

--
Paige Miller

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 943 views
  • 0 likes
  • 2 in conversation