ciROCemp: Confidence Interval of Empirical ROC Curve

Description Usage Arguments Value Comment See Also Examples

View source: R/rocCIemp.R

Description

Function ciROCemp estimates confidence interval of empirically estimated ROC curve.

Usage

1
ciROCemp(rocit_emp, level)

Arguments

rocit_emp

An object of class rocit, (method = "empirical").

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

rocit, ciROC, plot.rocci

Examples

1
2
3
4
5
6
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)

Example output

[1] "ROC estimation method" "Confidence level"      "FPR"                  
[4] "TPR"                   "LowerTPR"              "UpperTPR"             

ROCit documentation built on July 1, 2020, 11:28 p.m.