powerReplicationSuccess {ReplicationSuccess} | R Documentation |
The power for replication success is computed based on the result of the original study, the corresponding variance ratio and the design prior.
powerReplicationSuccess(po=NULL, to=p2t(po, alternative=alternative), c=1, level=0.05, designPrior="conditional", alternative="two.sided")
po |
A vector of P-values from original studies, default is |
to |
A vector of test statistics from original 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. |
level |
Replication success level. Default is 0.05. |
designPrior |
either |
alternative |
either |
The power for replication success.
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
powerReplicationSuccess(po=0.005, c=2) powerReplicationSuccess(po=0.005, c=2, designPrior="predictive") powerReplicationSuccess(po=0.005, c=2, alternative="one.sided") powerReplicationSuccess(po=0.005, c=2, designPrior="predictive", alternative="one.sided") powerReplicationSuccess(po=0.005, c=1/2) powerReplicationSuccess(po=0.005, c=1/2, designPrior="predictive") powerReplicationSuccess(po=0.005, c=1/2, alternative="one.sided") powerReplicationSuccess(po=0.005, c=1/2, designPrior="predictive", alternative="one.sided")