Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.

Author(s)

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.


logcondens

Estimate a Log-Concave Probability Density from Iid Observations

v2.1.5
GPL (>= 2)
Authors
Kaspar Rufibach <kaspar.rufibach@gmail.com> and Lutz Duembgen <duembgen@stat.unibe.ch>
Initial release
2016-07-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.