powered by
This function transforms the observed scale predictive ability (R2) and its standard error (SE) to AUC with its SE
auc_trf(R2, se, kv)
This function will transform the observed R2 and its s.e between to AUC. Output from the command is the lists of outcomes.
Transformed AUC
SE of transformed AUC
R2 or coefficient of determination on the observed scale
Standard error of R2
Population prevalence
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.
#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