pEdgington | R Documentation |
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)
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 |
Either zo
and zr
, or po
and pr
, must be
specified.
Edgington's p-value
Charlotte Micheloud, Leonhard Held, Samuel Pawel
Held, L., Pawel, S., Micheloud, C. (2024). The assessment of replicability using the sum of p-values. Royal Society Open Science. 11(8):11240149. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1098/rsos.240149")}
## examples from paper
pEdgington(po = 0.026, pr = 0.001)
pEdgington(po = 0.024, pr = 0.024)
## using z-values
pEdgington(zo = 1.91, zr = 1.95)
## using combination of z-value and p-value
pEdgington(zo = 1.91, pr = 0.024)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.