auc_trf | R Documentation |
This function transforms the observed scale predictive ability (R2) and its standard error (SE) to AUC with its SE
auc_trf(R2, se, kv)
R2 |
R2 or coefficient of determination on the observed scale |
se |
Standard error of R2 |
kv |
Population prevalence |
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 |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.