Hi,
I am trying to run a glimmix logistic regression model. My dependent variable has 2 levels (yes/no) and I am trying to run the model just with one independent variable (with 2 levels) for now. Once I have run the model, I want to also get the absolute % predicted value, which I am not sure how to do.
proc glimmix data = test;
class y ;
model x (event = '1') = y /dist=binary link= logit;
run;
Thank you.
Add an LSMEANS statement with the ILINK option. The predicted probabilities are in the Mean column. Add the CL option if you want confidence limits
lsmeans y / ilink cl;
Add an LSMEANS statement with the ILINK option. The predicted probabilities are in the Mean column. Add the CL option if you want confidence limits
lsmeans y / ilink cl;
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.