computeResS {MCglmnet}R Documentation

Performance evaluation for time-to-event response

Description

Performance evaluation for time-to-event response

Usage

computeResS(y, preds, time.cut = NULL)

Arguments

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.

Value

a data frame with performance results

References

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.


[Package MCglmnet version 1.0.0 Index]