Introduction to the Bayes factor: A Shiny/R app
Open Access
- 27 July 2024
- journal article
- research article
- Published by Wiley in Teaching Statistics
- Vol. 47 (1) , 5-16
Abstract
Most researchers receive formal training in frequentist statistics during their undergraduate studies. In particular, hypothesis testing is usually rooted on the null hypothesis significance testing paradigm and its p‐value. Null hypothesis Bayesian testing and its so‐called Bayes factor are now becoming increasingly popular. Although the Bayes factor is often introduced as being the Bayesian counterpart to the p‐value, its computation, use, and interpretation are quite distinct from the p‐value. There is now evidence confirming that the application of the Bayes factor in applied research is ill‐devised. To improve the current status quo, we have created a Shiny/R app called the Bayes factor, which offers a dynamic tutorial for learning all the basics about the Bayes factor. In this paper, we explain how the app works and we offer suggestions on how to use it in class or self‐study settings. The app is freely available at https://statsedge.org/shiny/LearnBF/.Keywords
Funding Information
- Japan Society for the Promotion of Science (21K20211)
This publication has 17 references indexed in Scilit:
- On the Potential Mismatch Between the Function of the Bayes Factor and Researchers’ ExpectationsCollabra: Psychology, 2022
- Aspiring to greater intellectual humility in scienceNature Human Behaviour, 2021
- Connecting and Contrasting the Bayes Factor and a Modified ROPE Procedure for Testing Interval Null HypothesesThe American Statistician, 2020
- Statistical Rituals: The Replication Delusion and How We Got ThereAdvances in Methods and Practices in Psychological Science, 2018
- Statistical tests, P values, confidence intervals, and power: a guide to misinterpretationsEuropean Journal of Epidemiology, 2016
- Bayesian Cognitive Modeling2014
- A Dirty Dozen: Twelve P-Value MisconceptionsSeminars in Hematology, 2008
- Bayes FactorsJournal of the American Statistical Association, 1995
- An invariant form for the prior probability in estimation problemsProceedings of the Royal Society of London. A. Mathematical and Physical Sciences, 1946
- IX. On the problem of the most efficient tests of statistical hypothesesPhilosophical Transactions of the Royal Society A, 1933