R: Combine p-values by the vote counting method

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 = c(0.5, 0.5))
    ## S3 method for class 'votep'
    print(x, ...)

### Arguments

`p` | A vector of p-values
`alpha` | A vector of length 2 defining the significance values
`x` | An object of class ‘`votep`’
`...` | 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 for a different choice of cut-off and also by specifying two different values for a neutral zone. If either value of alpha is greater than unity it is assumed to be a percentage.

The values of p should be such that 0<=p<=1 and a warning is issued if this is not true An error occurs if possibly as a result of deletion fewer than two studies remain.

The plot method for class ‘`metap`’ calls `schweder` 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` | A vector of length 2 defining the significance values and lying in the range 0 to 1
`validp` | The input vector with illegal values removed

### Author(s)

Michael Dewey

### 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.

### See Also

See also `schweder`

### Examples

    data(beckerp)
    votep(beckerp)

[Package metap version 0.8 Index]