TY - JOUR
T1 - BFpack
T2 - Flexible Bayes Factor Testing of Scientific Theories in R
AU - Mulder, Joris
AU - Williams, Donald R.
AU - Gu, Xin
AU - Tomarken, Andrew
AU - Böing-Messing, Florian
AU - Olsson-Collentine, Anton
AU - Meijerink, Marlyne
AU - Menke, Janosch
AU - van Aert, Robbie
AU - Fox, Jean Paul
AU - Hoijtink, Herbert
AU - Rosseel, Yves
AU - Wagenmakers, Eric Jan
AU - van Lissa, Caspar
N1 - Publisher Copyright:
© 2021, American Statistical Association. All rights reserved.
PY - 2021/11/30
Y1 - 2021/11/30
N2 - There have been considerable methodological developments of Bayes factors for hypothesis testing in the social and behavioral sciences, and related fields. This development is due to the flexibility of the Bayes factor for testing multiple hypotheses simultaneously, the ability to test complex hypotheses involving equality as well as order constraints on the parameters of interest, and the interpretability of the outcome as the weight of evidence provided by the data in support of competing scientific theories. The available software tools for Bayesian hypothesis testing are still limited however. In this paper we present a new R package called BFpack that contains functions for Bayes factor hypothesis testing for the many common testing problems. The software includes novel tools for (i) Bayesian exploratory testing (e.g., zero vs positive vs negative effects), (ii) Bayesian confirmatory testing (competing hypotheses with equality and/or order constraints), (iii) common statistical analyses, such as linear regression, generalized linear models, (multi-variate) analysis of (co)variance, correlation analysis, and random intercept models, (iv) using default priors, and (v) while allowing data to contain missing observations that are missing at random.
AB - There have been considerable methodological developments of Bayes factors for hypothesis testing in the social and behavioral sciences, and related fields. This development is due to the flexibility of the Bayes factor for testing multiple hypotheses simultaneously, the ability to test complex hypotheses involving equality as well as order constraints on the parameters of interest, and the interpretability of the outcome as the weight of evidence provided by the data in support of competing scientific theories. The available software tools for Bayesian hypothesis testing are still limited however. In this paper we present a new R package called BFpack that contains functions for Bayes factor hypothesis testing for the many common testing problems. The software includes novel tools for (i) Bayesian exploratory testing (e.g., zero vs positive vs negative effects), (ii) Bayesian confirmatory testing (competing hypotheses with equality and/or order constraints), (iii) common statistical analyses, such as linear regression, generalized linear models, (multi-variate) analysis of (co)variance, correlation analysis, and random intercept models, (iv) using default priors, and (v) while allowing data to contain missing observations that are missing at random.
KW - Bayes factors
KW - Equality/order constrained hypotheses
KW - Hypothesis testing
KW - R
UR - http://www.scopus.com/inward/record.url?scp=85118310281&partnerID=8YFLogxK
U2 - 10.18637/JSS.V100.I18
DO - 10.18637/JSS.V100.I18
M3 - Article
AN - SCOPUS:85118310281
SN - 1548-7660
VL - 100
SP - 1
EP - 63
JO - Journal of statistical software
JF - Journal of statistical software
IS - 18
ER -