predicted_bf: Predicted Bayes Factors for a New Study

Description Usage Arguments

View source: R/predicted_bf.R

Description

How much can be learned by an additional study? To judge this, this function samples the distribution of predicted Bayes factors for a new study given the current evidence.

Usage

1
predicted_bf(meta, SE, sample = 100, ...)

Arguments

meta

model-averaged meta-analysis (fitted with meta_bma).

SE

a scalar: the expected standard error of future study. For instance, SE = 1/sqrt(N) for standardized effect sizes and N = sample size)

sample

number of simulated Bayes factors

...

further arguments passed to rstan::sampling to draw posterior samples for d and tau.


metaBMA documentation built on March 17, 2021, 9:06 a.m.