Skip to content
Prev 171713 / 398506 Next

C-index for models fitted using start, stop in Surv?

Thank you for the clarification. On a second thought, I think (hope) a
time-dependent AUC index should be more appropriate in this case, such
as survivalROC. 

Many many thanks for all your help!

Eleni Rapsomaniki
 
Research Associate
Tel:     +44 (0) 1223 740273
Strangeways Research Laboratory
Department of Public Health and Primary Care
University of Cambridge
 

-----Original Message-----
From: Frank E Harrell Jr [mailto:f.harrell at vanderbilt.edu] 
Sent: 25 February 2009 17:50
To: Eleni Rapsomaniki
Cc: r-help at r-project.org
Subject: Re: [R] C-index for models fitted using start, stop in Surv?
Eleni Rapsomaniki wrote:
when only the stop time is indicated (I think implicitely start=0 in
that case). When the start and stop times are used in a Surv object,
e.g.
the following ways to compare a model fit to S makes sense:
with(heart, Surv(start,stop,event)))
missing
0.00e+00
the one used to fit it (S, above)
with(heart, Surv(stop-start,event)))
missing
0.00e+00
survival time specification in R? If not, does anybody have some tips on
how to go about computing it myself?
rcorr.cens is not meant for that.
Frank