Package: bain 0.2.11

Caspar J van Lissa

bain: Bayes Factors for Informative Hypotheses

Computes approximated adjusted fractional Bayes factors for equality, inequality, and about equality constrained hypotheses. For a tutorial on this method, see Hoijtink, Mulder, van Lissa, & Gu, (2019) <doi:10.1037/met0000201>. For applications in structural equation modeling, see: Van Lissa, Gu, Mulder, Rosseel, Van Zundert, & Hoijtink, (2021) <doi:10.1080/10705511.2020.1745644>. For the statistical underpinnings, see Gu, Mulder, and Hoijtink (2018) <doi:10.1111/bmsp.12110>; Hoijtink, Gu, & Mulder, J. (2019) <doi:10.1111/bmsp.12145>; Hoijtink, Gu, Mulder, & Rosseel, (2019) <doi:10.31234/osf.io/q6h5w>.

Authors:Xin Gu [aut], Herbert Hoijtink [aut], Joris Mulder [aut], Caspar J van Lissa [aut, cre], Van Zundert Camiel [ctb], Jeff Jones [ctb], Niels Waller [ctb]

bain_0.2.11.tar.gz
bain_0.2.11.tar.gz(r-4.7-arm64)bain_0.2.11.tar.gz(r-4.7-x86_64)bain_0.2.11.tar.gz(r-4.6-arm64)bain_0.2.11.tar.gz(r-4.6-x86_64)
bain_0.2.11.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
bain/json (API)

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

Bug tracker:https://github.com/cjvanlissa/bain/issues

Uses libs:
  • fortran– Runtime library for GNU Fortran applications
Datasets:
  • kuiper2013 - The Effect of Prior Interaction on Trust
  • sesamesim - Simulated Sesame Street Data
  • synthetic_dk - Simulated data about morality and politics in Denmark
  • synthetic_nl - Simulated data about morality and politics in The Netherlands
  • synthetic_us - Simulated data about morality and politics in the USA

On CRAN:

Conda:

fortran

5.74 score 6 packages 122 scripts 5.0k downloads 6 exports 6 dependencies

Last updated from:8e4db29070. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK217
linux-devel-x86_64OK256
source / vignettesOK164
linux-release-arm64OK217
linux-release-x86_64OK282
wasm-releaseOK116

Exports:bainbain_sensitivityget_estimatespbfseBetat_test

Dependencies:lavaanMASSmnormtnumDerivpbivnormquadprog

Introduction to bain

Rendered fromIntroduction_to_bain.Rmdusingknitr::rmarkdownon Jun 13 2026.

Last update: 2023-09-27
Started: 2019-02-06