pSceptical {ReplicationSuccess} | R Documentation |
The sceptical P-value is computed based on the test statistic of the original and the replication study and the corresponding variance ratio.
pSceptical(po=NULL, pr=NULL, to=p2t(po, alternative=alternative), tr=p2t(pr, alternative=alternative), c, alternative="two.sided")
po |
A vector of P-values from original studies, default is |
pr |
A vector of P-values from replication studies, default is |
to |
A vector of test statistics from original studies. Is calculated from |
tr |
A vector of test statistics from replication studies. Is calculated from |
c |
A 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. |
alternative |
either |
The sceptical P-value.
Leonhard Held
Held, L. (2019). A new standard for the analysis and design of replication studies (with discussion). To appear in Journal of the Royal Statistical Society, Series A. https://arxiv.org/abs/1811.10287
pSceptical(po=0.01, pr=0.02, c=2) pSceptical(po=0.02, pr=0.01, c=1/2) pSceptical(po=0.01, pr=0.01, c=2, alternative="one.sided")