Learn R Programming

BayesRepDesign (version 0.42)

Bayesian Design of Replication Studies

Description

Provides functionality for determining the sample size of replication studies using Bayesian design approaches in the normal-normal hierarchical model (Pawel et al., 2022) .

Copy Link

Version

Install

install.packages('BayesRepDesign')

Monthly Downloads

176

Version

0.42

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Samuel Pawel

Last Published

May 3rd, 2023

Functions in BayesRepDesign (0.42)

print.ssdRS

Print method for class "ssdRS"
print.designPrior

Print method for class "designPrior"
successRegionSig

Success region based on significance
ssdEqu

Sample size determination for replication success based on effect size equivalence
ssdBFr

Sample size determination for replication success based on replication Bayes factor
ssdMeta

Sample size determination for replication success based on meta-analytic significance
ssdTOST

Sample size determination for replication success based on TOST equivalence
ssdBFs

Sample size determination for replication success based on the sceptical Bayes factor
successRegion

Success region for replication effect estimate
ssdPs

Sample size determination for replication success based on the sceptical p-value
ssdSig

Sample size determination for replication success based on significance
pors

Compute probability of replication success
designPrior

Design prior for effect size
porsBFs

Probability of replication success based on the sceptical Bayes factor
density.designPrior

Density method for class "designPrior"
porsMeta

Probability of replication success based on meta-analytic significance
porsPs

Probability of replication success based on the sceptical p-value
porsEqu

Probability of replication success based on effect size equivalence
porsBFr

Probability of replication success based on replication Bayes factor
porsBF01

Probability of replication success based on Bayes factor
plot.designPrior

Plot method for class "designPrior"
ssd

Sample size determination for replication success
porsTOST

Probability of replication success based on TOST equivalence
print.successRegion

Print method for class "successRegion"
se2n

Sample size related to standard error and unit standard deviation
porsSig

Probability of replication success based on significance
ssdBF01

Sample size determination for replication success based on Bayes factor