Hello everyone! How can I smooth my Kaplan-Meier curves in SAS?
Context: I am releasing results from a research center. According to their rules, every "step" in the Kaplan-Meier curve needs to have at least X number of respondents. Mine does not meet this requirement so I must smooth out the curve and eliminate the jagged "steps."
Here is my syntax for the Kaplan-Meier curves
proc lifetest data=cancer.modelone method=km plots=survival cs=none notable;
time duration*cancer(0);
strata sex;
symbol1 V=none color=blue line=1;
symbol2 v=none color=red line=1;
title1 font="Arial 11pt" Height=1 Bold 'KM Curve by Sex';
run;
Below is an illustration of what I want. I found these examples online but they are STATA outputs (STATA uses Lowess Smoothing ?? - I'm not familiar with STATA).
I am also not familiar with Macros or SQL. Thank you for your time!