# Bayes factors should be stress-tested before they pick a hypothesis

- **Date:** 1 Dec 2023
- **Journal:** Psychological Methods
- **DOI:** https://doi.org/10.1037/met0000472
- **Paper:** https://doi.org/10.1037/met0000472
- **Free copy:** https://arxiv.org/pdf/2103.08744
- **Tags:** #methods #cognition #decision
- **Open science:** Open access (green)

## Quick

A Bayes factor can move when the model or the sampler changes. Check that movement before treating the number as a firm choice between hypotheses.

- Assumption details can move the ratio
- Bridge-sampling bias was examined
- A workflow tests analysis-specific stability

## Findings

These ratios are a direct way to compare how compatible rival hypotheses are with the data, but they can shift when modeling details change, and it is unsettled whether tools such as bridge sampling stay unbiased in complex analyses. A workflow of calibration simulations, repeated sampler draws, and a utility score on the resulting choices lets a team test whether their own ratio holds up.

- Errors in Bayes factor estimates are studied, along with how sensitive those estimates are to assumptions.
- Simulation-based calibration is used to test the accuracy and bias of estimates obtained with bridge sampling.
- Stability is checked against different MCMC draws and against sampling variation in the data.
- A utility function is used to look at how much decisions based on Bayes factors vary.
- The outlined workflow is meant so researchers can ask whether a Bayes factor is robust for their own analysis.

## Study details

- **Approach:** Not reported
- **Participants:** Not reported
- **Design:** Computational
- **Effect size:** Not reported
- **Significance:** Not reported

## Paper

**Title:** Workflow techniques for the robust use of bayes factors.

Inferences about hypotheses are ubiquitous in the cognitive sciences. Bayes factors provide one general way to compare different hypotheses by their compatibility with the observed data. Those quantifications can then also be used to choose between hypotheses. While Bayes factors provide an immediate approach to hypothesis testing, they are highly sensitive to details of the data/model assumptions and it's unclear whether the details of the computational implementation (such as bridge sampling) are unbiased for complex analyses. Here, we study how Bayes factors misbehave under different conditions. This includes a study of errors in the estimation of Bayes factors; the first-ever use of simulation-based calibration to test the accuracy and bias of Bayes factor estimates using bridge sampling; a study of the stability of Bayes factors against different MCMC draws and sampling variation in the data; and a look at the variability of decisions based on Bayes factors using a utility function. We outline a Bayes factor workflow that researchers can use to study whether Bayes factors are robust for their individual analysis.

Permalink: https://instapsych.yetanotherchris.dev/#/p/bayes-factors-should-be-stress-tested-before-they-pick-a-hypothesis

