How to plot cumulative incidence with number at risk from survival analysis with competing risk (see code below)
ods graphics on;proc lifetest data=dataname plots=cif(test ) notable timelist=0 6 12 18 24 36 48 60 OUTCIF=cifnrm_out;time time*event(0)/eventcode=1;strata group/order=internal;run;ods graphics off;
When using the EVENTCODE= option for a competing risks analysis PROC LIFETEST does not support the ATRISK plot option.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Save the date!
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.