BFpack: Flexible Bayes Factor Testing of Scientific Expectations

Implementation of various default Bayes factors for testing statistical hypotheses. The package is intended for applied quantitative researchers in the social and behavioral sciences, medical research, and related fields. The Bayes factor tests can be executed for statistical models such as univariate and multivariate normal linear models, generalized linear models, special cases of linear mixed models, survival models, relational event models. Parameters that can be tested are location parameters (e.g., group means, regression coefficients), variances (e.g., group variances), and measures of association (e.g,. bivariate correlations), among others. The statistical underpinnings are described in Mulder and Xin (2019) <doi:10.1080/00273171.2021.1904809>, Mulder and Gelissen (2019) <doi:10.1080/02664763.2021.1992360>, Mulder (2016) <doi:10.1016/>, Mulder and Fox (2019) <doi:10.1214/18-BA1115>, Mulder and Fox (2013) <doi:10.1007/s11222-011-9295-3>, Boeing-Messing, van Assen, Hofman, Hoijtink, and Mulder (2017) <doi:10.1037/met0000116>, Hoijtink, Mulder, van Lissa, and Gu, (2018) <doi:10.31234/>, Gu, Mulder, and Hoijtink, (2018) <doi:10.1111/bmsp.12110>, Hoijtink, Gu, and Mulder, (2018) <doi:10.1111/bmsp.12145>, and Hoijtink, Gu, Mulder, and Rosseel, (2018) <doi:10.1037/met0000187>. When using the packages, please refer to Mulder et al. (2021) <doi:10.18637/jss.v100.i18>.

Version: 1.2.2
Depends: R (≥ 3.0.0), bain
Imports: stats, MASS, Matrix, mvtnorm, pracma, lme4, extraDistr, ergm, Bergm, sandwich
Suggests: testthat, polycor, survival, pscl, metafor, knitr, rmarkdown, lmtest
Published: 2023-09-16
Author: Joris Mulder [aut, cre], Caspar van Lissa [aut, ctb], Donald R. Williams [aut, ctb], Xin Gu [aut], Anton Olsson-Collentine [aut, ctb], Florian Boeing-Messing [aut, ctb], Jean-Paul Fox [aut, ctb], Janosch Menke [ctb], Robbie van Aert [ctb], Barry Brown [ctb], James Lovato [ctb], Kathy Russell [ctb], Lapack 3.8 [ctb], Jack Dongarra [ctb], Jim Bunch [ctb], Cleve Moler [ctb], Gilbert Stewart [ctb], John Burkandt [ctb], Ashwith Rego [ctb], Alexander Godunov [ctb], Alan Miller [ctb], Jean-Pierre Moreau [ctb], The R Core Team [cph]
Maintainer: Joris Mulder <j.mulder3 at>
License: GPL (≥ 3)
NeedsCompilation: yes
Citation: BFpack citation info
Materials: README NEWS
CRAN checks: BFpack results


Reference manual: BFpack.pdf
Vignettes: BFpack_introduction


Package source: BFpack_1.2.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): BFpack_1.2.2.tgz, r-oldrel (arm64): BFpack_1.2.2.tgz, r-release (x86_64): BFpack_1.2.2.tgz, r-oldrel (x86_64): BFpack_1.0.0.tgz
Old sources: BFpack archive

Reverse dependencies:

Reverse imports: BGGM


Please use the canonical form to link to this page.