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)
A vector of z-values from original studies.
A vector of z-values from replication studies.
A vector of one-sided original p-values.
A vector of one-sided replication p-values.
Numeric vector of ratios of replication to original weight
Edgington's p-value
Either zo
and zr
, or po
and pr
, must be
specified.
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
## 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