An alternative to the Kaplan-Meier curves is to graph the Nelson-Aalen estimate of cumulative hazard function. We add the ci option and the noorigin option, as well as change the specification of the scales:
sts graph, cumhaz ci noorigin ylabel(.10(0.01)0) xlabel(40(1)51) |

More informationhelp sts graph |