BFpack: Flexible Bayes Factor Testing of Scientific Expectations

Implementation of default Bayes factors for testing statistical hypotheses under various statistical models. 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, correlation analysis, 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,. polychoric/polyserial/biserial/tetrachoric/product moments 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/j.jmp.2014.09.004>, 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/osf.io/v3shc>, 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.3
Depends: R (≥ 3.0.0), bain
Imports: stats, utils, MASS, mvtnorm, pracma, lme4, extraDistr, ergm, Bergm, sandwich, QRM
Suggests: testthat, polycor, survival, pscl, metafor, knitr, rmarkdown, lmtest
Published: 2023-10-20
Author: Joris Mulder [aut, cre], Caspar van Lissa [aut, ctb], Donald R. Williams [aut, ctb], Xin Gu [aut, ctb], 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 tilburguniversity.edu>
BugReports: https://github.com/jomulder/BFpack/issues
License: GPL (≥ 3)
URL: https://github.com/jomulder/BFpack
NeedsCompilation: yes
Citation: BFpack citation info
Materials: README NEWS
CRAN checks: BFpack results

Documentation:

Reference manual: BFpack.pdf
Vignettes: BFpack_introduction

Downloads:

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

Reverse dependencies:

Reverse imports: BGGM

Linking:

Please use the canonical form https://CRAN.R-project.org/package=BFpack to link to this page.