search for: lpnew

Displaying 1 result from an estimated 1 matches for "lpnew".

Did you mean: lnew
2011 Jun 24
1
UnoC function in survAUC for censoring-adjusted C-index
...mit of the time range under consideration (we want to avoid using the right-end tail of the KM curve). Copying from the example in the help file: TR <- ovarian[1:16,] TE <- ovarian[17:26,] train.fit <- coxph(Surv(futime, fustat) ~ age,x=TRUE, y=TRUE, method="breslow", data=TR) lpnew <- predict(train.fit, newdata=TE) Surv.rsp <- Surv(TR$futime, TR$fustat) Surv.rsp.new <- Surv(TE$futime, TE$fustat) If time is left NULL, the maximum futime in the TE data is assumed: UnoC(Surv.rsp, Surv.rsp.new, lpnew, time=NULL) #same as UnoC(Surv.rsp, Surv.rsp.new, lpnew...