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?
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.