Learn R Programming

fbroc (version 0.2.0)

conf.roc: Generates confidence intervals for the TPR for a range of FPRs

Description

Calculates confidence intervals for the TPR at different FPR values. This function is also used to plot the confidence regions in the function plot.fbroc.roc.

Usage

conf.roc(roc, conf.level = 0.95, steps = max(roc$n.neg, 100))

Arguments

roc
Object of class fbroc.roc.
conf.level
Confidence level to be used for the confidence intervals.
steps
Number of discrete steps for the FPR at which the TPR is calculated. TPR confidence intervals are given for all FPRs in seq(0, 1, by = (1 / steps)). Defaults to max(roc$n.neg, 100).

Value

  • A data.frame containing the FPR steps and the lower and upper bounds of the confidence interval for the TPR.

See Also

boot.roc