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!!

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand in the Innovate Hub.

Watch Now →
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
  • 1076 views
  • 0 likes
  • 1 in conversation