Learn R Programming

metap (version 0.7)

meanp: Combine p values by the mean p method

Description

Combine $p$ values by the mean p method

Usage

meanp(p) "print"(x, ...)

Arguments

p
A vector of $p$-values
x
An object of class ‘meanp
...
Other arguments to be passed through

Value

An object of class ‘meanp’ and ‘metap’, a list with entries
z
Value of $z$
p
Associated $p$-value
validp
The input vector with illegal values removed

Details

Defined as $$z = (0.5 - \bar{p}) \sqrt{12k}$$ which is a standard normal

The values of $p$ should be such that $0<=p<=1$. a="" warning="" is="" issued="" if="" this="" means="" that="" studies="" are="" omitted="" and="" an="" error="" results="" if,="" possibly="" after="" deletion="" of="" illegal="" values,="" fewer="" than="" four="" remain.<="" p="">

The plot method for class ‘metap’ calls schweder on the valid $p$-values

References

Becker, B J. Combining significance levels. In Cooper, H and Hedges, L V, editors A handbook of research synthesis, chapter 15, pages 215--230. Russell Sage, New York, 1994.

Rosenthal, R. Combining the results of independent studies. Psychological Bulletin, 85:185--193, 1978.

See Also

See also schweder

Examples

Run this code
data(rosenthal)
meanp(rosenthal$p) # 2.17, p = 0.015 one tailed

Run the code above in your browser using DataLab