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!
I posted a response yesterday. Not sure why it did not show up. Here it is again --
Hope this helps,
Jill
I have moved your post to :
Home >> Analytics >> Statistical Procedures
But I wonder if there's any difference with your other question (questions about proc glimmix code).
Koen
I posted a response yesterday. Not sure why it did not show up. Here it is again --
Hope this helps,
Jill
Your response did show up, @jiltao . This is a near-duplicate post.
Dear Jill,
Thank you so much, this is very helpful!!
I apologize for making two posts, it's my first time posting and I thought it will be better to post on two sub-forums instead of just one.
@astronomy_tower wrote:
I apologize for making two posts, it's my first time posting and I thought it will be better to post on two sub-forums instead of just one.
Look in this sub-forum 😁
Home >> Welcome >> Getting Started
Look at this post by a Community Manager 😁
Community etiquette: The do’s and don’ts of the SAS Support Communities
https://communities.sas.com/t5/Getting-Started/Community-etiquette-The-do-s-and-don-ts-of-the-SAS-Su...
It says (among other things):
Post your question once, in the appropriate forum. Multiple instances of the same question dilutes the answers and causes confusion.
Thanks!
And welcome to the Communities!
Koen
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.