BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Proshi
Fluorite | Level 6

Dear all,

I would like to know if I could estimate Odds ratio with a Catmod procedure?

Thank you,

Darina Proshenska

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

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.

View solution in original post

6 REPLIES 6
Ksharp
Super User

I am not sure .

CONTRAST '1 vs. 4' A 2 1 1  /  EXP ;

Proshi
Fluorite | Level 6

I will try this. Thank you for your help!

 

Darina

Rick_SAS
SAS Super FREQ

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.

Proshi
Fluorite | Level 6

Okay. I'll check this.

 

Thanks, Rick,
Darina Proshenska

Rick_SAS
SAS Super FREQ

@StatDave gave you some valuable advice about using PROC LOGISTIC instead of PROC CATMOD. Please consider following his advice.

Proshi
Fluorite | Level 6
Yes. Thank you!

sas-innovate-2024.png

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.

 

Register now!

What is ANOVA?

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.

Discussion stats
  • 6 replies
  • 1535 views
  • 0 likes
  • 3 in conversation