bfda_precalculation_results.Rd
Dataset that contains precalculated sample sizes with the BFDA method. We ran each calculation with 10000 iteration. The dataset contains the input and output values of these calculations.
bfda_precalculation_results
A dataframe with 3690 rows and 9 variables:
numeric, unique id of iteration
numeric, The long-run probability of obtaining a Bayes factor at least as high as the critical threshold favoring superiority, given Delta.
numeric, The expected population effect size.
numeric, The Bayes factor threshold for inference. Either 3, 6, or 10.
numeric, Scale of the Cauchy prior distribution. Either 1/sqrt(2), 1, or sqrt(2).
numeric, The determined sample size per group.
numeric, The TPR associated with the resulting sample sizes.
numeric, The frequency of the Bayes factor providing evidence for the null hypothesis with the given threshold.
numeric, The frequency of the Bayes factor providing evidence for the alternative hypothesis with the given threshold.
character, The error message in case of an error.
If none of the precalculated values suit your sample size
determination plan, than feel free the calculations with the R package
by using the ssp_bfda
function.