Computes performance statistics for a survival data given the predicted event probabilities
surv_validate(
y_predict,
predict_time,
df_train,
df_test,
weighted = TRUE,
alpha = "logit"
)
data.frame(T, AUCROC, Brier Score, Scaled Brier Score, C_score, Calib slope, Calib alpha)
probabilities of event by predict_time (matrix=observations x times)
times for which event probabilities are given
train data, data frame
test data, data frame
TRUE/FALSE, for IPWC
calibration alpha as mean difference or from logistic regression