Multiplicity adjustment by Bonferroni-Holm-Shaffer's rule
Multiplicity adjustment by Bonferroni-Holm-Shaffer's rule
BHS(pValues)
pValues |
|
numeric
vector of corrected p-vaules
Federico Mattiello <federico.mattiello@gmail.com>
Shaffer J.P. (1986) Modified Sequentially Rejective
Multiple Test Procedures, Journal of the American
Statistical Association, 81, 826–831.
set.seed(123) p.raw <- runif(10, max = 0.2) rbind(p.raw, p.adj = SOUP::BHS(p.raw))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.