Sample-size determination for the Bayesian t test and Welch's test using the approximate adjusted fractional Bayes factor.

Behav Res Methods

Department of Methodology and Statistics, Utrecht University, PO Box 80140, 3508 TC, Utrecht, The Netherlands.

Published: February 2021

When two independent means μ and μ are compared, H : μ = μ, H : μ≠μ, and H : μ > μ are the hypotheses of interest. This paper introduces the R package SSDbain, which can be used to determine the sample size needed to evaluate these hypotheses using the approximate adjusted fractional Bayes factor (AAFBF) implemented in the R package bain. Both the Bayesian t test and the Bayesian Welch's test are available in this R package. The sample size required will be calculated such that the probability that the Bayes factor is larger than a threshold value is at least η if either the null or alternative hypothesis is true. Using the R package SSDbain and/or the tables provided in this paper, psychological researchers can easily determine the required sample size for their experiments.

Download full-text PDF

Source
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC7880954PMC
http://dx.doi.org/10.3758/s13428-020-01408-1DOI Listing

Publication Analysis

Top Keywords

bayes factor
12
sample size
12
bayesian test
8
welch's test
8
approximate adjusted
8
adjusted fractional
8
fractional bayes
8
package ssdbain
8
sample-size determination
4
determination bayesian
4

Similar Publications

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!