Customizing the Kaplan-Meier Survival Plot

Equal-Precision Bands

You can use the following statements to add equal-precision bands to the plot:

proc lifetest data=sashelp.BMT plots=survival(cb=ep test);
   time T * Status(0);
   strata Group;
run;

The results are displayed in FigureĀ 5.

Figure 5: Equal-Precision Bands

Equal-Precision Bands


You can use the following statements to add both Hall-Wellner and equal-precision bands to the plot:

proc lifetest data=sashelp.BMT plots=survival(cb=all test);
   time T * Status(0);
   strata Group;
run;

The results are displayed in FigureĀ 6.

Figure 6: Hall-Wellner and Equal-Precision Bands

Hall-Wellner and Equal-Precision Bands


Last updated: December 09, 2022