Description Usage Arguments Value See Also Examples
Compute area under the ROC curve according to model-based densities
1 | auroc.model(densities)
|
densities |
Adjusted densities computed by
|
The area under the model-based ROC curve computed from the densities of the weight of evidence in cases and noncases. This model-based ROC curve is always concave (if the densities have been adjusted to make them mathematically consistent).
plotroc
1 2 3 4 5 | data("cleveland") # load example dataset
W <- with(cleveland, weightsofevidence(posterior.p, prior.p))
densities.unadj <- Wdensities.unadjusted(cleveland$y, W)
densities.adj <- Wdensities.fromraw(densities.unadj)
auroc.model(densities.adj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.