Holm {HDLSSkST} | R Documentation |
Holm's step-down-procedure (1979)
Description
Holm's step-down-procedure (1979) for mutiple tests.
Usage
Holm(pvalues, alpha)
Arguments
pvalues |
vector of p-values |
alpha |
numeric, family wise error rate controling level |
Value
a vector of 0
s and 1
s. 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
Sture Holm (1979). A simple sequentially rejective multiple test procedure, Scandinavian journal of statistics, 65-70, doi:10.2307/4615733.
Examples
# Holm's step down procedure:
pvalues <- c(0.50,0.01,0.001,0.69,0.02,0.05,0.0025)
alpha <- 0.05
Holm(pvalues, alpha)
## outputs:
#[1] 0 0 1 0 0 0 1
[Package HDLSSkST version 2.1.0 Index]