Hello,
I am an SAS layman user, a medical student with very limited use. I have been able to understand and make Kaplan plots for my data. Most of my data is concentrated between 0 to 60 months (five years) but there are some cases that extend to 200 months which makes my main data look small and unfocused. I have been trying to limit this to just 60 months. How should I code and proceed? I would love to have a very simple and layman's explanation since I have no proper coding experience.
I am using this code [proc lifetest data=WORK.IMPORT plots=survival (cl test atrisk(maxlen=13)=0 to 60 by 12);
time 'Survival months'n*Vitalstatus(0);
strata Stage;
run;]
This is the kind of plot I get.
I want only 60 months of survival time. What addition should I add to the above code to limit it?
Thanking you in anticipation.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.