F.test: Fisher's method for combining p-values

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

Description

Compute the p-value for -2 ∑ \log p_i.

Usage

1
F.test(x, returnstat = FALSE)

Arguments

x

a vector of p-values.

returnstat

if TRUE then return the statistic as well as the p-value.

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

Mosteller, F. and Fisher, R. A. (1948). Questions and answers. The American Statistician, 2(5):pp. 30-31.

See Also

TMT.test, simes.test

Examples

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

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