Hi,
This procedure produced the logit of estimate and 95% CI. How do I generate the exponentiated odds ratio and 95% confidence interval for stage, sex and age? Should I use Lsmeans?
Stage: pre, post
Sex: male, female and prefer to self-describe
age: continuous variable
proc genmod data = test descending;
class subjectid stage sex;
model result = stage sex age/dist=bin link=logit type3 ;
repeated subject=subjectid/type=un;
format stage stageF. sex $sexF.;
run;
Have you tried the exp option on the lsmeans?
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!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.