Combine p values by the mean p method
meanp(p)
# S3 method for meanp
print(x, ...)
An object of class ‘meanp
’ and ‘metap
’,
a list with entries
Value of z
Associated p-value
The input vector with illegal values removed
A vector of significance values
An object of class ‘meanp
’
Other arguments to be passed through
Michael Dewey
Defined as z = (0.5 - p) 12kz = (0.5 - mean(p)) * sqrt(12k) which is a standard normal and due to edgington72b;textualmetap becker94metaprosenthal78metap
The values of p_i should be such that 0 p_i 1 and a warning is given if that is not true. A warning is given if, possibly as a result of removing illegal values, fewer than four values remain and the return values are set to NA.
The plot method for class ‘metap
’ calls plotp
on the valid
See also plotp
data(dat.metap)
rosenthal <- dat.metap$rosenthal
meanp(rosenthal$p) # 2.17, p = 0.015 one tailed
Run the code above in your browser using DataLab