BookmarkSubscribeRSS Feed
Zoe_Steven
Calcite | Level 5

Hi,

 

I'm trying to generate a KM plot like figure 1 below using the modularized templates in the SAS sample library and is
on the Web at http://support.sas.com/documentation/onlinedoc/stat/ex_code/131/templft.html.  My codes are listed below in figure 3(sorry, I'm not able to copy the codes from my company's server). And the output is like figure 2. So far, I don't know how to generate the parts in red box in figure 1. Please could you help? Thank you!

 

 

 

 

Figure 1: the expected oneFigure 1: the expected oneFigure 2: the one I have generated so farFigure 2: the one I have generated so farFigure 3: codesFigure 3: codes

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

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
  • 0 replies
  • 842 views
  • 0 likes
  • 1 in conversation