Description Usage Arguments Details Value Author(s) See Also Examples
Estimate the area of region under ROC curve under pre-specific FPR/TPR constraints (two-way partial AUC). See Yang et al., 2016 for details.
1 |
response |
a factor, numeric or character vector of responses; typically encoded with 0 (negative) and 1 (positive). Only two classes can be used in a ROC curve. If its levels are not 0 and 1, the first level will be defaultly regarded as negative. |
predictor |
a numeric vector of the same length than response, containing the predicted value of each observation. An ordered factor is coerced to a numeric. |
threshold |
a length-two numeric vector; the first element is FPR threshold, the second is TPR. |
smooth |
if |
This function estimates two-way partial AUC given response, predictor and pre-specific FPR/TPR constraints.
Estimate of two-way partial AUC.
Hanfang Yang, Kun Lu, Xiang Lyu, Feifang Hu, Yichuan Zhao.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.