Learn R Programming

R2ROC (version 1.0.1)

auc_trf: auc_trf function

Description

This function transforms the observed scale predictive ability (R2) and its standard error (SE) to AUC with its SE

Usage

auc_trf(R2, se, kv)

Value

This function will transform the observed R2 and its s.e between to AUC. Output from the command is the lists of outcomes.

auc

Transformed AUC

se

SE of transformed AUC

Arguments

R2

R2 or coefficient of determination on the observed scale

se

Standard error of R2

kv

Population prevalence

References

Wray, Naomi R., et al. "The genetic interpretation of area under the ROC curve in genomic profiling." PLoS genetics 6.2 (2010): e1000864.

Lee, Sang Hong, et al. "A better coefficient of determination for genetic profile analysis." Genetic epidemiology 36.3 (2012): 214-224.

Examples

Run this code
#To get the transformed AUC

output=auc_trf(0.04, 0.002, 0.05)
output

#output$auc (transformed AUC)
#0.7522887

#output$se (se of transformed AUC)
#0.005948364

Run the code above in your browser using DataLab