surv_brier | R Documentation |
The Brier score for survival models is computed as a squared distance between the predicted survival probability and and the actual 0/1-coded survival for each unique time point of the dataset.
surv_brier(fit, ...)
## S3 method for class 'coxex'
surv_brier(fit, splitMethod = "none", ...)
## S3 method for class 'coxph'
surv_brier(fit, data, splitMethod = "none", ...)
fit |
a survival model. |
... |
extra arguments passed to |
splitMethod |
validation method used for calculation of the Bier scores
as specified by the respective |
data |
the data frame used for the model construction. |
See, pec
for details.
The surv_brier
is a S3 generic function.
an object of the brier
class with the plot
method
and multiple methods shared with traditional data frames.
Graf, E., Schmoor, C., Sauerbrei, W. & Schumacher, M. Assessment and comparison of prognostic classification schemes for survival data. Stat. Med. 18, 2529–2545 (1999).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.