WHC {corrMCT} | R Documentation |
WHC
performs the weighted Hochberg method proposed by Tamhane and Liu (2008).
WHC(p, w, alpha = 0.05)
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. |
A table contains p-values, weights, adjusted critical values, significance
Tamhane, A. C., & Liu, L. (2008). On weighted Hochberg procedures. Biometrika, 95(2), 279-294.
m <- 5
WHC(
p = runif(m),
w = runif(m)
)