WHC {corrMCT} | R Documentation |
Weighted Hochberg method
Description
WHC
performs the weighted Hochberg method proposed by Tamhane and Liu (2008).
Usage
WHC(p, w, alpha = 0.05)
Arguments
p |
A numeric vector. A length |
w |
A numeric vector. Any non-negative real numbers to denote the
importance of the endpoints. Length must be equal to |
alpha |
A real number. |
Value
A table contains p-values, weights, adjusted critical values, significance
References
Tamhane, A. C., & Liu, L. (2008). On weighted Hochberg procedures. Biometrika, 95(2), 279-294.
Examples
m <- 5
WHC(
p = runif(m),
w = runif(m)
)
[Package corrMCT version 0.1.0 Index]