/* Plot of the survival distribution - Kaplan Meier Curve */

filename t01 url 'http://hedwig.mgh.harvard.edu/biostatistics/sites/default/files/public/education/tmp_sample_data.csv';

proc import file=t01 out=t01 dbms=csv replace;
run;

ods listing exclude ProductLimitEstimates;

proc lifetest data=t01 plots=(s);
time recurr_day*recurrence(0);
run;

/***************************************************************************************************/
            
        
Kaplan Meier Survival Curve