BookmarkSubscribeRSS Feed
lih
Calcite | Level 5 lih
Calcite | Level 5

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;

1 REPLY 1
OsoGris
SAS Employee

When using the EVENTCODE= option for a competing risks analysis PROC LIFETEST does not support the ATRISK plot option.

SAS Innovate 2025: Save the Date

 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!

What is ANOVA?

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.

Discussion stats
  • 1 reply
  • 80 views
  • 0 likes
  • 2 in conversation