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

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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