EstimateAUC.QP: Compute QP estimate for AUC Basic function to obtain the...

Description Usage Arguments Value Examples

View source: R/EstimateAUC.QP.R

Description

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.

Usage

1
EstimateAUC.QP(diseased, healthy, MESD_X, MESD_Y, K = NULL)

Arguments

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

Value

AUC estimate

Examples

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)

blebedenko/thescript2 documentation built on Dec. 19, 2021, 9:53 a.m.