Learn R Programming

metaBMA (version 0.3.9)

predictive: Predicted Bayes Factor for a New Study

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

predictive(meta, SE, resample = 100)

Arguments

meta

model-averaged meta-analysis (fitted with meta_bma or meta_default)

SE

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

resample

number of simulated Bayes factors