The combined p-value with Edgington's method is computed based on the one-sided p-values (or the corresponding the z-values) of the original and replication study, and the ratio of the weight of the replication study over the weight of the original study

pEdgington(zo = NULL, zr = NULL, po = NULL, pr = NULL, r = 1)

Arguments

zo

A vector of z-values from original studies.

zr

A vector of z-values from replication studies.

po

A vector of one-sided original p-values.

pr

A vector of one-sided replication p-values.

r

Numeric vector of ratios of replication to original weight

Value

Edgington's p-value

Details

Either zo and zr, or po and pr, must be specified.

References

Held, L., Pawel, S., Micheloud, C. (2024). The assessment of replicability using the sum of p-values. Royal Society Open Science. 11(8):11240149. doi:10.1098/rsos.240149

Author

Charlotte Micheloud, Leonhard Held, Samuel Pawel

Examples

## examples from paper
pEdgington(po = 0.026, pr = 0.001)
#> [1] 0.0003645
pEdgington(po = 0.024, pr = 0.024)
#> [1] 0.001152

## using z-values
pEdgington(zo = 1.91, zr = 1.95)
#> [1] 0.001439412
## using combination of z-value and p-value
pEdgington(zo = 1.91, pr = 0.024)
#> [1] 0.001355466