logcondens (version 2.1.5)

ROCx: Compute ROC curve at a given x based on log-concave estimates for the constituent distributions

Description

Computes the value of the ROC curve at \(x\) (which may be a vector) based on log-concave density estimates of the constituent distributions.

Usage

ROCx(x, res0, res1, smooth = FALSE)

Arguments

x

Vector of numbers in \([0, 1]\) where the ROC curve should be computed at.

res0

dlc object as a result of a call to logConDens for the data of the controls.

res1

dlc object as a result of a call to logConDens for the data of the cases.

smooth

Logical. If TRUE kernel smoothed log-concave estimate is used.

Value

A real number or a vector of dimension the same as \(x\), the value of the ROC curve at x.

References

Rufibach, K. (2012). A smooth ROC curve estimator based on log-concave density estimates. Int. J. Biostat., 8(1), 1--29.

See Also

Used for the computation of AUC in logConROC.