Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

BHS

Multiplicity adjustment by Bonferroni-Holm-Shaffer's rule


Description

Multiplicity adjustment by Bonferroni-Holm-Shaffer's rule

Usage

BHS(pValues)

Arguments

pValues

numeric vector of p-vaules

Value

numeric vector of corrected p-vaules

Author(s)

Federico Mattiello <federico.mattiello@gmail.com>

References

Shaffer J.P. (1986) Modified Sequentially Rejective Multiple Test Procedures, Journal of the American Statistical Association, 81, 826–831.

See Also

Examples

set.seed(123)
p.raw <- runif(10, max = 0.2)
rbind(p.raw, p.adj = SOUP::BHS(p.raw))

SOUP

Stochastic Ordering Using Permutations (and Pairwise Comparisons)

v1.1
GPL (>= 2)
Authors
Federico Mattiello [aut, cre]
Initial release
2015-04-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.