auc_trf {R2ROC} | R Documentation |
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)
Arguments
R2 |
R2 or coefficient of determination on the observed scale |
se |
Standard error of R2 |
kv |
Population prevalence |
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 |
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
#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
[Package R2ROC version 1.0.1 Index]