ACC.FUN | R Documentation |
Calculate the (i) AUC, and (ii) TPR, PPV, and NPV at the cut-off value that leads to FPR being the given value, or FPR, PPV, and NPNV at the cut-off value that leads to TPR being the given value.
ACC.FUN(yk, ck, wgtk, type = "FPR", u0 = 0.05)
yk |
a vector of binary outcomes. |
ck |
a vector of risk scores. |
wgtk |
a vector of weights. |
type |
a character which could be "FPR" or "TPR", and the default value is "FPR". |
u0 |
a numerical value for the accuracy measure specified in |
a vector of IPW estimates of the accuracy measures.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.