Package: BFpack 0.3.2

Joris Mulder

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, Hoijtink, and Xin (2019) <arxiv:1904.00679>, Mulder and Gelissen (2019) <arxiv:1807.05819>, 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 <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>.

Authors: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]

BFpack_0.3.2.tar.gz
BFpack_0.3.2.zip(r-4.7)BFpack_0.3.2.zip(r-4.6)BFpack_0.3.2.zip(r-4.5)
BFpack_0.3.2.tgz(r-4.6-x86_64)BFpack_0.3.2.tgz(r-4.6-arm64)BFpack_0.3.2.tgz(r-4.5-x86_64)BFpack_0.3.2.tgz(r-4.5-arm64)
BFpack_0.3.2.tar.gz(r-4.7-arm64)BFpack_0.3.2.tar.gz(r-4.7-x86_64)BFpack_0.3.2.tar.gz(r-4.6-arm64)BFpack_0.3.2.tar.gz(r-4.6-x86_64)
BFpack_0.3.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
BFpack/json (API)
NEWS

# Install 'BFpack' in R:
install.packages('BFpack', repos = c('https://cjvanlissa.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jomulder/bfpack/issues

Uses libs:
  • fortran– Runtime library for GNU Fortran applications
Datasets:
  • actors - Actors from a small hypothetical network
  • attention - Multiple Sources of Attentional Dysfunction in Adults With Tourette's Syndrome
  • fmri - FMRI data
  • memory - Memory data on health and schizophrenic patients
  • relevents - A sequence of innovation-related e-mail messages
  • same_culture - Same culture event statistic
  • same_location - Same location event statistic
  • sivan - Wason task performance and morality
  • therapeutic - Data come from an experimental study (Rosa, Rosa, Sarner, and Barrett, 1998) that were also used in Howell (2012, p.196). An experiment was conducted to investigate if Therapeutic Touch practitioners who were blindfolded can effectively identify which of their hands is below the experimenter¡¯s. Twenty-eight practitioners were involved and tested 10 times in the experiment. Researchers expected an average of 5 correct answers from each practitioner as it is the number by chance if they do not outperform others.
  • timssICC - Trends in International Mathematics and Science Study (TIMSS) 2011-2015
  • tvprices - Precision of the Anchor Influences the Amount of Adjustment
  • wilson - Facial trustworthiness and criminal sentencing

On CRAN:

Conda:

fortran

4.56 score 3 packages 67 scripts 1.2k downloads 3 exports 24 dependencies

Last updated from:509e1b27b5. Checks:11 WARNING, 2 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64WARNING260
linux-devel-x86_64WARNING237
source / vignettesOK214
linux-release-arm64WARNING254
linux-release-x86_64WARNING239
macos-release-arm64WARNING207
macos-release-x86_64WARNING369
macos-oldrel-arm64WARNING165
macos-oldrel-x86_64WARNING392
windows-develWARNING249
windows-releaseWARNING235
windows-oldrelWARNING231
wasm-releaseOK120

Exports:bartlett_testBFcor_test

Dependencies:bainbootextraDistrlatticelavaanlme4MASSMatrixminqamnormtmvtnormnlmenloptrnumDerivpbivnormpracmaquadprogrbibutilsRcppRcppArmadilloRcppEigenRdpackreformulasrlang

Introduction to BFpack

Rendered fromvignette_BFpack.Rmdusingknitr::rmarkdownon May 08 2026.

Last update: 2021-02-04
Started: 2020-11-29