Description Usage Arguments Value Examples
View source: R/EstimateAUC.QP.R
Compute QP estimate for AUC Basic function to obtain the quadratic programming deconvolution estimator of AUC, from the supplied data and the measurement error standard deviations.
1 | EstimateAUC.QP(diseased, healthy, MESD_X, MESD_Y, K = NULL)
|
diseased |
vector of positive class observations |
healthy |
vector of negative class observations |
MESD_X |
positive class measurement error standard deviation |
MESD_Y |
negative class measurement error standard deviation in Y |
K |
hyperparameter of 'QPdecon', defaults to automatic choice as in QPdecon |
AUC estimate
1 2 3 | x <- rnorm(150,2,1) + rnorm(150,0,0.5) #positive class obs.
y <- rnorm(180,0,1) + rnorm(180,0,0.3) #negative class obs.
EstimateAUC.QP(diseased=x,healthy=y,MESD_X=0.5,MESD_Y=0.3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.