🔒 This topic is solved and locked.
Need further help from the community? Please
sign in and ask a new question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 07-09-2021 03:00 PM
(1886 views)
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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
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
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your quick reply Reeza. I haven’t worked with the examples. Can you please provide me the link?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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
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