BookmarkSubscribeRSS Feed
haoduonge
Quartz | Level 8

Hi,

Hi all,

Can we calculate the Harrell's C indexes in competing risk model as below?

Thank you!

Hao

 

proc phreg data=out_withclass;

class X1(REF='0');

model  TIME_YRS *OUTCOME(0)=X1 X2/eventcode=1 rl;

run;

4 REPLIES 4
StatDave
SAS Super FREQ

Use the CONCORDANCE option in the PROC PHREG statement. You can also use the PLOTS=ROC, PLOTS=AUC, and ROCOPTIONS to draw and control ROC curves. See the PHREG documentation for discussion of these options and an example. 

haoduonge
Quartz | Level 8

I think it only works with Cox model, not with competing risk model (F & G), right?

Hao

StatDave
SAS Super FREQ
Sorry... that's correct. The concordance statistics (and ROC analysis) are not available with that model.
OsoGris
SAS Employee

You can try using the  CONCORDANCE option on the PROC PHREG statement.  I don't know if that's enabled, necessarily, for the competing risks analysis.  

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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
  • 4 replies
  • 244 views
  • 2 likes
  • 3 in conversation