Description Usage Arguments Value Author(s) References See Also Examples
Computes the combined p-value \min(n p_{(i)}/i) where p_{(1)}, …, p_{(n)} are the ordered p-values.
1 | simes.test(x, returnstat = FALSE)
|
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.) |
if returnstat=TRUE then a pair (p,T) where p is the p-value and T is the test, otherwise just p.
Patrick Rubin-Delanchy <patrick.rubin-delanchy@bristol.ac.uk>
Simes, R. J. (1986). An improved Bonferroni procedure for multiple tests of significance. Biometrika, 73(3):751-754.
1 2 | ## This should be uniformly distributed
simes.test(runif(10))
|
[1] 0.8731019
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.