BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
sas1018
Fluorite | Level 6

Hi


I want to calculate HR using phreg procedure. I used the procedure and I got some value for HR.Can anybody guide me how I need to check whether I am getting the correct values or not?I found this below link which helped me to understand 

https://communities.sas.com/t5/Statistical-Procedures/hazard-ratio-with-PHREG/td-p/36790

but still have some confusion regarding the HR whether I am getting the correct value or not. Can anybody suggest me where I can explore more about HR?

 

 

TIA.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User
Most statistical procs have an Example section in the documentation.
Here's a specific one that likely applies to you
https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_phreg_examples03.htm

And the full list of examples for PROC PHREG.
https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_phreg_examples.htm

View solution in original post

3 REPLIES 3
Reeza
Super User
Have you worked through the examples in the documentation and understand how its being calculated for the examples? Then apply that same logic to your problem.
sas1018
Fluorite | Level 6

Thanks for your quick reply Reeza. I haven’t worked with the examples. Can you please provide me the link? 

Reeza
Super User
Most statistical procs have an Example section in the documentation.
Here's a specific one that likely applies to you
https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_phreg_examples03.htm

And the full list of examples for PROC PHREG.
https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_phreg_examples.htm

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!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1319 views
  • 1 like
  • 2 in conversation