Learn R Programming

BayesRepDesign (version 0.42)

successRegionSig: Success region based on significance

Description

This function returns the success region for the (meta-analytic) replication effect estimate to achieve significance

Usage

successRegionSig(sr, to, tau = 0, nsites = 1, level)

Value

An object of class "successRegion". See

successRegion for details.

Arguments

sr

Replication standard error

to

Original effect estimate

tau

Heterogeneity standard deviation used in the calculation of the meta-analytic replication effect estimate and its standard error. Defaults to 0 (fixed effects analysis)

nsites

nsites Number of sites, defaults to 1. The effect estimates from all sites are assumed to have the same standard error sr

level

Significance level for p-value of the (average) replication effect estimate (one-sided and in the same direction as the original effect estimate)

Author

Samuel Pawel

References

Pawel, S., Consonni, G., and Held, L. (2022). Bayesian approaches to designing replication studies. arXiv preprint. tools:::Rd_expr_doi("10.48550/arXiv.2211.02552")

Examples

Run this code
successRegionSig(sr = 0.05, to = 0.2, tau = 0.01, nsites = 3, level = 0.025)

Run the code above in your browser using DataLab