SidakSD | R Documentation |
The Sidak-like (1987) step-down procedure is applied to pValues The Sidak-like step-down procedure is an improvement over the Holm's (1979) step-down procedure. The improvement is analogous to Sidak's correction over the original Bonferroni procedure. This Sidak-like step-down procedure assumes positive orthant dependent test statistics.
SidakSD(pValues, alpha, silent=FALSE)
pValues |
The used raw pValues. |
alpha |
The level at which the FWER shall be controlled. |
silent |
If true any output on the console will be suppressed. |
A list containing:
adjPValues |
a numeric vector containing the adjusted pValues |
rejected |
a logical vector indicating which hypotheses are rejected |
criticalValues |
a numeric vector containing critical values used in the step-up-down test |
errorControl |
A Mutoss S4 class of type |
WerftWiebke
Hollander, B.S. and Covenhaver, M.D. (1987). An Improved Sequentially Rejective Bonferroni Test Procedure. Biometrics, 43(2):417-423, 1987.
alpha <- 0.05
p <-c(runif(10, min=0, max=0.01), runif(10, min=0.9,max=1))
result <- SidakSD(p, alpha)
result <- SidakSD(p, alpha, silent=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.