ciROCemp {ROCit} | R Documentation |
Confidence Interval of Empirical ROC Curve
Description
Function ciROCemp
estimates confidence interval
of empirically estimated ROC curve.
Usage
ciROCemp(rocit_emp, level)
Arguments
rocit_emp |
An object of class |
level |
Desired level of confidence to be estimated. |
Value
A list object containing TPR, upper and lower bound of TPR at certain FPR values.
Comment
ciROCemp
is used internally in ciROC.rocit
of ROCit.
See Also
Examples
set.seed(100)
score <- c(runif(20, 15, 35), runif(15, 25, 45))
class <- c(rep(1, 20), rep(0, 15))
rocit_object <- rocit(score, class)
ciROC <- ciROCemp(rocit_object, level = 0.9)
names(ciROC)
[Package ROCit version 2.1.2 Index]