ciROCemp: Confidence Interval of Empirical ROC Curve

View source: R/rocCIemp.R

ciROCempR 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 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

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)

ROCit documentation built on May 29, 2024, 2:15 a.m.