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., regression coefficients), variances (e.g., group variances), and measures of association (e.g,. bivariate correlations). The statistical underpinnings are described in Mulder, Hoijtink, and Xin (2019) <arXiv:1904.00679>, Mulder and Gelissen (2019) <arXiv:1807.05819>, 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 <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>.

Version: 0.3.1
Depends: R (≥ 3.0.0), bain
Imports: stats, MASS, Matrix, mvtnorm, pracma, lme4, extraDistr
Suggests: testthat, polycor, survival, pscl, metafor, knitr, rmarkdown
Published: 2020-11-30
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
Materials: README NEWS
CRAN checks: BFpack results


Reference manual: BFpack.pdf
Vignettes: bain_introduction
Package source: BFpack_0.3.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release: BFpack_0.3.1.tgz, r-oldrel: BFpack_0.3.1.tgz
Old sources: BFpack archive

Reverse dependencies:

Reverse imports: BGGM


Please use the canonical form to link to this page.