pwrFDR
to allow power/sample
size calculation for multiple tests of ROC curve based hypothesis.
See details.In hypothesis tests of TPR_1 vs TPR_0 at fixed FPR, or
FPR_1 vs FPR_0 at fixed TPR, this computes the
equivalent Z-test effect size. This can then be passed
the effect.size
argument in a call to
pwrFDR
or controlFDP
es.ROC(FPR0, FPR1 = NULL, TPR0, TPR1 = NULL, b = NULL)
The equivalent Z-test effect size in a hypothesis test for difference in TPR at fixed FPR or difference in FPR at fixed TPR
When the TPR is fixed, the FPR under the null. Otherwise the fixed FPR.
When the TPR is fixed, the FPR under the alternative. Otherwise left blank.
When the FPR is fixed, the TPR under the null. Otherwise the fixed TPR.
When the FPR is fixed, the TPR under the alternative. Otherwise left blank.
Nominal slope of the ROC at FPR0. Taken to be 1 by default.
Grant Izmirlian <izmirlian at nih dot gov>
Pepe M. S., Feng Z, Janes, H Bossuyt P. M. and Potter J. D. Pivotal evaluation of the accuracy of a biomarker used for classification or prediction. Supplement. J Natl Cancer Inst 2008;100: 1432--1438
cc.ROC
es.ROC(FPR0=0.15, TPR0=0.80, TPR1=0.90)
Run the code above in your browser using DataLab