CVPL {dynpred} | R Documentation |
This function calculates the cross-validated log partial likelihood, with shrinkage if requested.
CVPL(formula, data, progress = TRUE, overall = FALSE, shrink = 1)
formula |
Formula for prediction model to be used as in
|
data |
Data set in which to interpret the formula |
progress |
if |
overall |
if |
shrink |
Shrinkage factor; default is 1 (no shrinkage) |
Numeric; the cross-validated log partial likelihood
Hein Putter H.Putter@lumc.nl
Verweij PJM & van Houwelingen HC (1994), Penalized likelihood in Cox regression, Statistics in Medicine 13, 2427-2436.
van Houwelingen HC, Putter H (2012). Dynamic Prediction in Clinical Survival Analysis. Chapman & Hall.
data(ova) CVPL(Surv(tyears, d) ~ 1, data = ova) CVPL(Surv(tyears, d) ~ Karn + Broders + FIGO + Ascites + Diam, data = ova) CVPL(Surv(tyears, d) ~ Karn + Broders + FIGO + Ascites + Diam, data = ova, overall=TRUE)