surv_validate {survcompare} | R Documentation |
Computes performance statistics for a survival data given the predicted event probabilities
Description
Computes performance statistics for a survival data given the predicted event probabilities
Usage
surv_validate(
y_predict,
predict_time,
df_train,
df_test,
weighted = TRUE,
alpha = "logit"
)
Arguments
y_predict |
probabilities of event by predict_time (matrix=observations x times) |
predict_time |
times for which event probabilities are given |
df_train |
train data, data frame |
df_test |
test data, data frame |
weighted |
TRUE/FALSE, for IPWC |
alpha |
calibration alpha as mean difference or from logistic regression |
Value
data.frame(T, AUCROC, Brier Score, Scaled Brier Score, C_score, Calib slope, Calib alpha)
[Package survcompare version 0.1.2 Index]