BookmarkSubscribeRSS Feed
blueblue
Calcite | Level 5

Hi, I need to generate KM for Cox cause-specific competing risk.  However, it seems that every approach I tried, all come out to be the same, that the KM curve or CIF (both generated from LIFETEST) look very differently from the CIF generated by PHREG (Cox cause-specific).  Even for FG competing risk model, the CIF generated from LIFETEST does not share similar pattern/shape to the CIF generated by PHREG.  How to explain these? I know KM would not be exactly the same as CIF, yet the shape/pattern should not differ so much between the CIF generated from LIFETEST or PHREG, right?

 

Here are the approaches I tried for KM curves for Cox cause-specific competing risk:

1.) PROC LIFE TEST with:   TIME   T*Status(0 2);

2.) PROC LIFE TEST with:   TIME  T*Status(0) / eventcode(COX)=1;  -- ERROR message

3.) PROC LIFE TEST with:   TIME  T*Status(0) / eventcode=1; 

4.) PROC LIFE TEST with:   TIME  T*Status(0) / failcode=1 2;

 

In PHREG, I use the following codes for the Cox cause-specific competing risk:

proc phreg data=BMT plots (overlay)=cif;

  class disease;

  model T*Status(0) / eventcode(COX)=1;

  baseline covariates=risk;

run;

  

And how to generate KM curve for cause-specific competing risk model? 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 0 replies
  • 770 views
  • 0 likes
  • 1 in conversation