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: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 472 views
  • 0 likes
  • 2 in conversation