/* Plot of two survival distributions - Kaplan Meier Curves */

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);
strata gender / test=logrank;
run;

/***************************************************************************************************/
            
        
Kaplan Meier Survival Curves