BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
km0927
Obsidian | Level 7

Hi. i'm using 'proc phreg' to perform time-dependent survival analysis.

 

I'm trying to get harrell's c index, using 'concordance' option. like this.

 

proc phreg data=test concordance plots=roc;

class variable1(ref='1') variable2(ref='1') variable3(ref='1')

model (start, stop)*censored(0) =  variable1 variable2 variable3/TIES=

EFRON RL;

RUN;

 

However,  'Neither concordance nor ROC analysis is performed with the START/STOP specification' appears in log screen.

 

Results of survival analysis came out normally, but 'harrell's c index' didn't came out.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
FreelanceReinh
Jade | Level 19

Hi @km0927,

 

It seems that there are limitations in PROC PHREG regarding ROC analyses (and hence the c statistic) under certain circumstances, including time-dependent analyses (of some sort): see this thread:

https://communities.sas.com/t5/SAS-Statistical-Procedures/Concordance-index-for-Competing-risks-PROC...

and perhaps this unanswered question: https://communities.sas.com/t5/SAS-Statistical-Procedures/How-to-create-ROC-curves-using-PROC-PHREG/....

View solution in original post

2 REPLIES 2
FreelanceReinh
Jade | Level 19

Hi @km0927,

 

It seems that there are limitations in PROC PHREG regarding ROC analyses (and hence the c statistic) under certain circumstances, including time-dependent analyses (of some sort): see this thread:

https://communities.sas.com/t5/SAS-Statistical-Procedures/Concordance-index-for-Competing-risks-PROC...

and perhaps this unanswered question: https://communities.sas.com/t5/SAS-Statistical-Procedures/How-to-create-ROC-curves-using-PROC-PHREG/....

km0927
Obsidian | Level 7

thanks. maybe SAS doesn't support 'Harrell's c index concordance option' in time-dependent survival analysis....

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 save with the early bird rate—just $795!

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
  • 2 replies
  • 2361 views
  • 0 likes
  • 2 in conversation