DiscreteFDR (version 1.0)

DiscreteFDR-package: DiscreteFDR: Multiple Testing Procedures with Adaptation for Discrete Tests

Description

This package implements the [HSU], [HSD], [AHSU], [AHSD] and [HBR-lambda] procedures for discrete tests (see References).

Arguments

Details

The functions are reorganised from the reference paper in the following way. DBH (for Discrete Benjamini-Hochberg) implements [HSU] and [HSD], ADBH (the "A" stands for Adaptive) implements [AHSU] and [AHSD], and DBR (for Discrete Blanchard-Roquain) implements [HBR-lambda]. Their main arguments are a vector of raw observed p-values, and a list of the same length, which elements are the discrete supports of the CDFs of the p-values.

The function fisher.pvalues.support allows to compute such p-values and support in the framework of a Fisher's exact test of association. It has been inspired by an help page of the package discreteMTP.

We also provide the amnesia data set, used in our examples and in our paper. It is basically the amnesia data set of package discreteMTP, but slightly reformatted (the difference lies in column 3).

No other function of the package should be used, they are only internal functions called by the main ones.

References

S. D<U+00F6>hler, G. Durand and E. Roquain (2018). New FDR bounds for discrete and heterogeneous tests. Electronic Journal of Statistics, Volume 12, Number 1 (2018) link.