hommel {mutoss} | R Documentation |
Hommel's (1988) step-up-procedure
Description
Hommel's step-up-procedure.
Usage
hommel(pValues, alpha, silent=FALSE)
Arguments
pValues |
pValues to be used. They need a independent structure. |
alpha |
The level at which the FWER should be controlled |
silent |
Logical. If true, any output on the console will be suppressed. |
Details
The method is applied to p-values. It controls the FWER in the strong sense when the hypothesis tests are independent or when they are non-negatively associated.
The method is based upon the closure principle and the Simes test.
Value
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 |
Author(s)
HackNiklas
References
G. Hommel (1988). A stagewise rejective multiple test procedure based on a modified Bonferroni test. Biometrika 75, pp. 383-386
Examples
pval <- c(runif(50), runif(50, 0, 0.01))
result <- hommel(pval, 0.05)
result <- hommel(pval, 0.05, silent = TRUE)