This is my code, but I just realized the result I have are all missing values. I wonder how can I get the median survival time?
proc lifetest data=survival method=km;
time survival_time * event(0);
strata race;
run;
You need to look at your survival curve/survival estimates. If the curve doesn't drop below S(t) = 0.50 then the median does not exist. I suspect the same for all of your other quartiles as well. They may not exist for your data.
You need to look at your survival curve/survival estimates. If the curve doesn't drop below S(t) = 0.50 then the median does not exist. I suspect the same for all of your other quartiles as well. They may not exist for your data.
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.