| gce_performance | R Documentation |
Computes the cause-specific concordance (C-index) of the GCE risk score for
the event of interest. For calibration (predicted vs. observed
\omega^{+}), see gce_calibration.
gce_performance(object, conf.level = 0.95)
object |
a |
conf.level |
confidence level for the C-index interval (default
|
The C-index is computed with concordance using the
event of interest as the outcome and the GCE risk score as the predictor.
Higher risk scores denote higher risk; the statistic is oriented so that
values above 0.5 indicate discrimination in the expected direction, and the
"flipped" attribute of the result records whether the orientation was
reversed.
An object of class "gce_performance": a named numeric vector
with elements estimate, se, lower, and upper,
carrying attributes conf.level and flipped. Printing the
object displays the C-index with its confidence interval.
gce_calibration
data(hn)
fit <- gcecox(Surv(time, status) ~ age + t_cat + p16, data = hn, t = 5)
gce_performance(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.