/*running PROC GLMMIX*/ /*Actually I have been unsuccessful installing PROC GLIMMIX, so I have not run the syntax below; however, I plan to use this to test whether GLIMMIX gets correctly installed*/ Data ABC; set sashelp.Prdsal3; run; proc rank data=abc out=abc2 groups=2; var actual; ranks DICHOTOMOUSOUTCOME; run; /*PROC GLIMMIX*/ proc glimmix data=ABC2; class state; model DICHOTOMOUSOUTCOME (event = 1) = predict/dist=binary link=logit; random int/type=un subject = state; run; /*PROC MIXED*/ proc mixed data=ABC covtest noclprint; title "One predictor as an fixed effect"; class state; model actual =predict/solution ddfm=bw; random intercept/sub=state; run;