Using SAS 9.4
I have the following code for a KM curve:
proc lifetest data = have plots=survival(test ATRISK(maxlen=50));
time TT_fail_months *failure2(0) ;
strata INDEX_TYPE_REV ;
label INDEX_TYPE_REV = 'Index Revision Type'
TT_fail_months = 'Time to Implant Failure (in Months)' ;
title 'Figure 2: Implant Survival Free of Reoperation for Infection';
run;
The code generates the curve I want, however I cannot figure out how to format the curve.
1. I need to change the title, which the title statement above does not do
2. right now by bins are 0 to 125 by 25 and I would like 0 to 120 by 12
3. I would like to make one of the 2 lines a dashed line (----) to make it easier to tell a difference if printed in black and white.
Thank you