Hello!
We have data on students who are nested within colleges, and we’re using GLIMMIX to run a multi-level regression model to predict whether or not a student declares a certain major in their first year of college (outcome) based on whether or not they take that subject in high school (main predictor). This is what our GLIMMIX code looks like:
proc glimmix data=&dsn method=laplace noclprint;
class &class_var;
model outcome_var (event=’1’) = &ivlist /
cl dist=binary link=logit solution oddsratio;
random intercept / subject=&subject_var type=vc solution cl;
covtest / wald ;
lsmeans &lsmeans_var / bylevel cl ilink ;
run ;
where:
We borrowed a majority of the syntax from page 4 of this PDF: https://support.sas.com/resources/papers/proceedings15/3430-2015.pdf. We have a couple of questions about understanding some of these options and whether they are appropriate for our situation:
Any help would be greatly appreciated!
Hope this helps,
Jill
I have moved your post to :
Home >> Analytics >> Statistical Procedures
Koen
Hope this helps,
Jill
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.