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?
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!
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.