Skip to contents

The truncated, inverse-probability-of-censoring-weighted concordance index. A thin alias for Cstat(method = "uno"); the estimator already exists and is not duplicated here.

Usage

Survci2(time, event, risk_score)

Arguments

time

Observed event or censoring times.

event

Event indicator, 1 = event, 0 = censored.

risk_score

Predicted risk; higher means shorter survival.

Value

List with estimate, c_statistic, se, ci_lower, ci_upper, comparable, method.

References

Uno, H., Cai, T., Pencina, M. J., D'Agostino, R. B. and Wei, L. J. (2011). On the C-statistics for evaluating overall adequacy of risk prediction procedures with censored survival data. Statistics in Medicine 30(10):1105-1117. doi:10.1002/sim.4154

Examples

Survci2(c(1, 2, 3, 4), c(1, 1, 1, 0), c(4, 3, 2, 1))
#> $estimate
#> [1] 1
#> 
#> $c_statistic
#> [1] 1
#> 
#> $se
#> [1] 0
#> 
#> $ci_lower
#> [1] 1
#> 
#> $ci_upper
#> [1] 1
#> 
#> $concordant
#> [1] 5
#> 
#> $discordant
#> [1] 0
#> 
#> $tied
#> [1] 0
#> 
#> $comparable
#> [1] 5
#> 
#> $method
#> [1] "Uno IPCW-weighted truncated C-statistic [Uno et al. 2011]"
#>