BookmarkSubscribeRSS Feed
Anita_n
Pyrite | Level 9

Dear all,

I have a Kaplan Meier curve on which I wish to inset the hazards ratio and p-Value which are from the proc phreg procedure.

I have been tring without any success. Any help?

I have a three coloumn table that looks this:

 

stages                 hazard ratio    pValue

2(reference 1)      1.663               0.0145

3(reference 1)      5.223              <0.0001

4(reference 1)      10.555            <0.0001

3 REPLIES 3
sbxkoenk
SAS Super FREQ

Hello,

 

Did you check the doc?

 

SAS/STAT® 15.2 User's Guide :

 

Customizing the Kaplan-Meier Survival Plot
https://go.documentation.sas.com/doc/en/statug/15.2/statug_kaplan_toc.htm

 

Customizing the Kaplan-Meier Survival Plot
Controlling the Survival Plot by Modifying Graph Templates
https://go.documentation.sas.com/doc/en/statug/15.2/statug_kaplan_sect015.htm

 

Koen

Anita_n
Pyrite | Level 9

Hi, thanks I have already checked those links

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
  • 3 replies
  • 933 views
  • 0 likes
  • 3 in conversation