pBox
computes Box's tail probabilities based on the z-values of the
original and the replication study, the corresponding variance ratio,
and the significance level.
Numeric vector of z-values from the original studies.
Numeric vector of z-values from replication studies.
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.
Numeric vector of significance levels. Default is 0.05.
Either "two.sided" (default) or "one.sided". Specifies whether two-sided or one-sided Box's tail probabilities are computed.
pBox
returns Box's tail probabilities.
zBox
returns the z-values used in pBox
.
pBox
quantifies the conflict between the sceptical prior
that would render the original study non-significant and the result
from the replication study. If the original study was not significant
at level level
, the sceptical prior does not exist and pBox
cannot be calculated.
Box, G.E.P. (1980). Sampling and Bayes' inference in scientific modelling and robustness (with discussion). Journal of the Royal Statistical Society, Series A, 143, 383-430.
Held, L. (2020). A new standard for the analysis and design of replication studies (with discussion). Journal of the Royal Statistical Society: Series A (Statistics in Society), 183, 431-448. doi:10.1111/rssa.12493