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.

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.