arrow
Return

How accurate are Bayes factor-based null hypothesis tests? A simulation study

delete2026-09-01
delete0
delete
OA
AI
D
Daniel J. Schad *
M
Martin Modrák
DOI:10.3758/s13428-026-03168-wdelete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Bayes factor null hypothesis tests provide a viable alternative to frequentist measures of evidence quantification. Bayes factors for realistic data sets in areas like psychology cannot be calculated exactly and require numerical approximations to complex integrals. Crucially, the accuracy of these approximations, i.e., whether an approximate Bayes factor corresponds to the exact Bayes factor, is unknown, and may depend on data, prior, and likelihood. We recently developed a novel statistical procedure, marginal simulation-based calibration (SBC) for Bayes factors, to test whether computed Bayes factors for a given analysis are accurate. Here, we use marginal SBC for Bayes factors and calibration plots to test whether Bayes factors are calculated accurately for some common cognitive designs. We use the bridgesampling/brms packages in R. We run analyses for three commonly used designs in psychology and psycholinguistics: (a) a design with random effects for subjects only, (b) a Latin square design with crossed random effects for subjects and items, but a single fixed factor, and (c) a Latin square 2x2 design with crossed random effects for subjects and items. We find that Bayes factor estimates turn out accurate in cases when the bridgesampling algorithm does not issue a warning message, but can be biased and variable when a warning message is shown. These results support the use of brms/bridgesampling for null hypothesis Bayes factor tests in commonly used factorial designs. They also suggest that when a warning message is issued, Bayes factor results should not be trusted. The results show that it is practical to check whether Bayes factors are computed correctly.
Keywords:
Bayes factors
Bayesian model comparison
Simulation-based calibration
Null hypothesis testing
Crossed random effects for subjects and items

Journal

Behavior Research Methods cover
Behavior Research Methods
IF:
3.9
Papers:
701
Citations:
3.6W

Organization

I
institute for mind
Scholars:
2
Papers: 1
Citations: 0
S
Second Faculty of Medicine
Scholars:
64
Papers: 29
Citations: 0