BenHoch {HDLSSkST}R Documentation

Benjamini-Hochbergs step-up-procedure (1995)

Description

Benjamini-Hochbergs step-up-procedure (1995) for multiple tests.

Usage

BenHoch(pvalues, alpha)

Arguments

pvalues

vector of p-values

alpha

numeric, false discovery rate controling level \alpha, default: 0.05

Value

a vector of 0s and 1s. 0: fails to reject the corresponding hypothesis and 1: reject the corresponding hypothesis

Author(s)

Biplab Paul, Shyamal K. De and Anil K. Ghosh

Maintainer: Biplab Paul<paul.biplab497@gmail.com>

References

Yoav Benjamini and Yosef Hochberg (1995). Controlling the false discovery rate: a practical and powerful approach to multiple testing, Journal of the Royal statistical society: series B (Methodological) 57.1: 289-300, doi: 10.2307/2346101.

Examples

   # Benjamini-Hochbergs step-up-procedure:
   pvalues <- c(0.50,0.01,0.001,0.69,0.02,0.05,0.0025)
   alpha <- 0.05
   BenHoch(pvalues, alpha)

   ## outputs:
   #[1] 0 1 1 0 1 0 1

[Package HDLSSkST version 2.1.0 Index]