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? 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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