computeResS {MCglmnet} | R Documentation |
Performance evaluation for time-to-event response
computeResS(y, preds, time.cut = NULL)
y |
Time-to-event response variable. a two column matrix, first column is time, second column is censor status. |
preds |
predicted values of the regularized cox regression model, obtained using predict.glmnet with option "type="response" |
time.cut |
the cut time value used for calculating time dependent concordance (Uno et al., 2011, implmented in R package "survC1"). if not specified, by default the time points at which 25%, 50%, 75% survival probability from KM curve are used. |
a data frame with performance results
Hajime Uno, Tianxi Cai, Michael J. Pencina, Ralph B. D’Agostino, and LJ Wei. On the C-statistics for evaluating overall adequacy of risk prediction procedures with censored survival data. Statistics in Medicine 2011, 30:1105-16.