Learn R Programming

astsa (version 1.1)

FDR: Basic False Discovery Rate

Description

Computes the basic false discovery rate given a vector of p-values; see Example 7.4 on page 427 for a demonstration.

Usage

FDR(pvals, qlevel = 0.05)

Arguments

pvals
a vector of pvals on which to conduct the multiple testing
qlevel
the proportion of false positives desired

Value

  • fdr.idNULL if no significant tests, or a vector of the indices of the significant tests

References

http://www.stat.berkeley.edu/~paciorek/code/fdr/fdr.R