Hello, I want to plot a survival curve for competing risk but I cannot find out how it is implememted in SAS. I want survival curve S(t), not the cumullative infidence function. If anyone happen to know how to implement this, please let me know. Thank you very much! Here is what I have tried: (1) I tried "proc phreg" data Risk; group=0; output; group=1; output; run; proc phreg data=mm(where=(time_to_event_year < 30)) plots(overlay=stratum)=survival; class group(order=internal);* ref=first); model time_to_event_year*death_status(0)=group / eventcode=1; Hazardratio 'Pairwise' group / diff=pairwise; baseline covariates=Risk out=out1 cif=_all_ / seed=191; run; I got an error message: ERROR: Cannot request a SURVIVAL plot for the Fine and Gray competing-risks analysis. (2) I also tried "proc lifetest" proc lifetest data=mm(where=(time_to_event_year < 30)) plots=survival; class group; time time_to_event_year*death_status(0) / eventcode=1; strata group / order=internal; run; Again, I got error message that "/ eventcode = 1" cannot be recoganized and ignored. However, when I checked the lifetest procedure, this is an option. It would be great if anyone can help! Thanks again.
... View more