BookmarkSubscribeRSS Feed
cnspencer
Calcite | Level 5

I am trying to determine the best model for my outcomes in SAS 9.2 mixed and glimmix- does anyone know if I want to test the effects of removing var1-do I need to remove it from BOTH the class and model statements or just one?

proc mixed var1;

class var1 var2;

model  var2 var3 var4;

random intercept var6 / var 7;

run;

OR

proc mixed var1;

class var2;

model var2 var3 var4;

random intercept var6 / var 7;

run;

Thanks!!

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

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 0 replies
  • 760 views
  • 0 likes
  • 1 in conversation