simes.test: Simes's method for combining p-values

Description Usage Arguments Value Author(s) References See Also Examples

Description

Computes the combined p-value \min(n p_{(i)}/i) where p_{(1)}, …, p_{(n)} are the ordered p-values.

Usage

1
simes.test(x, returnstat = FALSE)

Arguments

x

a vector of p-values.

returnstat

if TRUE then return the statistic as well as the p-value. (Very unusually, they are the same with this method.)

Value

if returnstat=TRUE then a pair (p,T) where p is the p-value and T is the test, otherwise just p.

Author(s)

Patrick Rubin-Delanchy <patrick.rubin-delanchy@bristol.ac.uk>

References

Simes, R. J. (1986). An improved Bonferroni procedure for multiple tests of significance. Biometrika, 73(3):751-754.

See Also

F.test, TMT.test

Examples

1
2
## This should be uniformly distributed
simes.test(runif(10))

Example output

[1] 0.8731019

mppa documentation built on May 2, 2019, 2:48 a.m.