BookmarkSubscribeRSS Feed
ChiSAS25
Fluorite | Level 6

Dear

I would like to customize the Kaplan-Meier graph by removing the default title “Product-Limit Survival Estimates with Number of Subjects at Risk.” Is it possible to do this directly ?

Should I modify the survival/failure template to achieve this, or is there another recommended approach?

ChiSAS25_0-1760700907505.png

thanks in advance for any help

 

2 REPLIES 2
Kathryn_SAS
SAS Employee

Try the following SAS Note:

https://support.sas.com/kb/70/375.html 

quickbluefish
Barite | Level 11

Another possibility, which will also give you control over things like the range of the y-axis and most other customizations is to output the survival dataset by adding the OUTSURV= option to the PROC LIFETEST statement.  You'll then be able to plot things with PROC SGPLOT or similar.  That said, you will then be doing everything from scratch, including adding text for the log rank / wilcoxon to the plot, displaying censored values, etc., so if you truly only want control over the title, definitely go with the response above this one.  

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

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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