FDR | R Documentation |
Computes the basic false discovery rate given a vector of p-values and returns the index of the maximal p-value satisfying the FDR condition.
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. |
This is used primarily in Chapter 7.
Built off of https://www.stat.berkeley.edu/~paciorek/code/fdr/fdr.R.
You can find demonstrations of astsa capabilities at FUN WITH ASTSA.
The most recent version of the package can be found at https://github.com/nickpoison/astsa/.
In addition, the News and ChangeLog files are at https://github.com/nickpoison/astsa/blob/master/NEWS.md.
The webpages for the texts and some help on using R for time series analysis can be found at https://nickpoison.github.io/.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.