predicted_bf | R Documentation |
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, ...)
meta |
model-averaged meta-analysis (fitted with |
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.