BookmarkSubscribeRSS Feed
mafsharz
Calcite | Level 5

Dear all,

I am new to survival analysis and attempting to perform cox proportional hazards on my database of trauma patients.  I'm interested in identifying the hazard ratio of alcohol exposure for in-hospital death in trauma patients.  My database has patients that die up to 200 days out. I'm interested in examining the hazard ratio in the first 6 hours, 12 hours, and 24 hours of hospitalization.  How may I do this?  Thank you for your help...

1 REPLY 1
SteveDenham
Jade | Level 19

Take a look at the Examples in the documentation for PROC PHREG, and see if any fit your situation.  That would give you a start on both code and interpretation.

Steve Denham

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 1 reply
  • 669 views
  • 0 likes
  • 2 in conversation