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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.