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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.