hommel.test

0th

Percentile

Test Multiple Comparisons

Given a set of p-values and a test level, returns test results for each of the hypotheses.

Keywords
htest
Usage
hommel.test(p, alpha=0.05)
Arguments
p
vector of p-values
alpha
desired significance level
Details

This function implements the multiple testing procedure of Hommel (1988). Hommel's method is also implemented as an adjusted P-value method in the function p.adjust but the accept/reject approach in this function is faster.

Value

  • A logical vector indicating whether each hypothesis is accepted.

References

Hommel, G. (1988). A stagewise rejective multiple test procedure based on a modified Bonferroni test. Biometrika, 75, 383-386. Shaffer, J. P. (1995). Multiple hypothesis testing. Annual Review of Psychology 46, 561-576. (An excellent review of the area.)

See Also

p.adjust

Aliases
  • hommel.test
Examples
p <- sort(runif(100))[1:10]
cbind(p,p.adjust(p,"hommel"),hommel.test(p))
Documentation reproduced from package statmod, version 0.6, License: GPL version 2 or newer

Community examples

Looks like there are no examples yet.