Dear all,
I would like to know if I could estimate Odds ratio with a Catmod procedure?
Thank you,
Darina Proshenska
Yes. Use the LOGLIN statement to specify the model effects and put the _RESPONSE_ keyword on the right-hand side of the MODEL statement. The parameter estimates table contains the estimates on a log scale. You will need to combine them and exponentiate them to get the odds ratios. I wasn't able to find an online example, but there is an example in the "Loglinear Models" chapter of Stokes, Davis, and Koch, "Categorical Data Analysis" book.
I am not sure .
CONTRAST '1 vs. 4' A 2 1 1 / EXP ;
I will try this. Thank you for your help!
Darina
Yes. Use the LOGLIN statement to specify the model effects and put the _RESPONSE_ keyword on the right-hand side of the MODEL statement. The parameter estimates table contains the estimates on a log scale. You will need to combine them and exponentiate them to get the odds ratios. I wasn't able to find an online example, but there is an example in the "Loglinear Models" chapter of Stokes, Davis, and Koch, "Categorical Data Analysis" book.
Okay. I'll check this.
Thanks, Rick,
Darina Proshenska
@StatDave gave you some valuable advice about using PROC LOGISTIC instead of PROC CATMOD. Please consider following his advice.
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.