votep {metap} | R Documentation |
Combine p-values by the vote counting method
Description
Combine \(p\)-values by the vote counting method
Usage
votep(p, alpha = 0.5)
## S3 method for class 'votep'
print(x, ...)
Arguments
p |
A vector of significance values |
alpha |
A value defining the significance value limits, see Details |
x |
An object of class ‘ |
... |
Other arguments to be passed through |
Details
By default splits the \(p\)-values at 0.5 with those below counting as positive and those above counting as negative. However setting alpha allows specifying a neutral zone. In that case values between alpha and 1 - alpha will be assumed to be neutral and only those outside the zone counted as positive or negative. If the value of alpha is greater than unity it is assumed to be a percentage.
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 two values remain and the return values are set to NA.
The plot method for class ‘metap
’ calls plotp
on the valid p-values.
Value
An object of class ‘votep
’
and ‘votep
’, a list with entries
p |
\(p\) value |
pos |
Number of positives |
neg |
Number of negatives |
alpha |
The cut–off significance value lying in the range 0 to 1 |
validp |
The input vector with illegal values removed |
Author(s)
Michael Dewey
References
Becker BJ (1994). “Combining significance levels.” In Cooper H, Hedges LV (eds.), A handbook of research synthesis, 215–230. Russell Sage, New York.
See Also
See also plotp
Examples
data(dat.metap)
beckerp <- dat.metap$beckerp
votep(beckerp)