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
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.