powerEdgington | R Documentation |
The power with Edgington's method is computed based on the result of the original study (z-value or one-sided p-value), the corresponding variance ratio, and the ratio of the weight of the replication study over the weight of the original study
powerEdgington(
zo = NULL,
po = NULL,
r = 1,
c = 1,
level = 0.025,
designPrior = "conditional",
shrinkage = 0
)
zo |
Numeric vector of z-values from original studies. |
po |
Numeric vector of original one-sided p-values |
r |
Numeric vector of ratios of replication to original weight. |
c |
Numeric vector of variance ratios of the original and replication effect estimates. This is usually the ratio of the sample size of the replication study to the sample size of the original study. |
level |
One-sided significance level. Default is 0.025. |
designPrior |
Either "conditional" (default) or "predictive". |
shrinkage |
Numeric vector with values in [0,1). Defaults to 0.
Specifies the shrinkage of the original effect estimate towards zero, e.g.,
the effect is shrunken by a factor of 25% for |
Either zo
or po
must be specified.
The power with Edgington's method
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")}
powerEdgington(po = 0.025, level = 0.025, c = 1.4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.