BookmarkSubscribeRSS Feed
gmm
Calcite | Level 5 gmm
Calcite | Level 5

Hi, 

 

I am running an ordinal logistic regression. I have my ordinal variable (OHI) and my dependent variable (bone) has 3 levels- femur, ilium, and rib. Since the rib is the reference, I have results for the rib vs femur and rib vs ilium, but I need results for femur vs ilium. How do you code for this? Is a contrast statement appropriate? Here is the code I used to run the ordinal regression in SAS Studio.

proc logistic data=work.bioerosion descending;
class OHI bone;
model OHI=bone;
run;
2 REPLIES 2
Reeza
Super User
Depends on what you're looking for - ODDSRATIO statements are more intuitive than CONTRAST in my experience.
gmm
Calcite | Level 5 gmm
Calcite | Level 5
I am looking to see if there is a difference in the OHI (it assesses bioerosion) between the bones.

SAS Innovate 2025: Call for Content

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!

Submit your idea!

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 429 views
  • 0 likes
  • 2 in conversation