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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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
  • 288 views
  • 0 likes
  • 2 in conversation