FDR {astsa} | R Documentation |
Computes the basic false discovery rate given a vector of p-values.
FDR(pvals, qlevel = 0.05)
pvals |
a vector of pvals on which to conduct the multiple testing |
qlevel |
the proportion of false positives desired |
fdr.id |
NULL if no significant tests, or the index of the maximal p-value satisfying the FDR condition. |
http://www.stat.berkeley.edu/~paciorek/code/fdr/fdr.R