Skip to content

question about val.surv in R

2 messages · zhu yao, Frank E Harrell Jr

#
Please specify the package(s) you are using.  In this case it should be rms.

val.surv is mainly for an out-of-sample validation, as it does not penalize
for overfitting.  calibrate.cph is probably what you should be using.

To use val.surv in the fashion you are trying to use it, specify y=TRUE,
surv=TRUE to cph and specify the time point you are validating with the u
argument to val.surv (e.g., u=1 for 1 year survival probability validation).

Frank
yz wrote:
-----
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context: http://r.789695.n4.nabble.com/question-about-val-surv-in-R-tp3506666p3507015.html
Sent from the R help mailing list archive at Nabble.com.