get_cox_pec | R Documentation |
Computes prediction error curves and
integrated Brier score (IBS)
for a Cox model using pec
and crps
.
get_cox_pec(
cox_model,
data = NULL,
type = c("ibs", "pec", "brier"),
splitMethod = "none",
...
)
cox_model |
a Cox model of the |
data |
the data frame used for the model construction. Ignored, if coxex object provided. |
type |
type of object to be returned: 'ibs' returns
the Integrated Brier Score (IBS), 'pec' returns a |
splitMethod |
validation method used for calculation of the Bier scores
as specified by the respective |
... |
extra arguments passed to |
a numeric vector with IBS values, a pec
class
or a brier
class object.
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.