Package: BFF 4.3.0

BFF: Bayes Factor Functions

Bayes factors represent the ratio of probabilities assigned to data by competing scientific hypotheses. However, one drawback of Bayes factors is their dependence on prior specifications that define null and alternative hypotheses. Additionally, there are challenges in their computation. To address these issues, we define Bayes factor functions (BFFs) directly from common test statistics. BFFs express Bayes factors as a function of the prior densities used to define the alternative hypotheses. These prior densities are centered on standardized effects, which serve as indices for the BFF. Therefore, BFFs offer a summary of evidence in favor of alternative hypotheses that correspond to a range of scientifically interesting effect sizes. Such summaries remove the need for arbitrary thresholds to determine "statistical significance." BFFs are available in closed form and can be easily computed from z, t, chi-squared, and F statistics. They depend on hyperparameters "r" and "tau^2", which determine the shape and scale of the prior distributions defining the alternative hypotheses. Plots of BFFs versus effect size provide informative summaries of hypothesis tests that can be easily aggregated across studies.

Authors:Rachael Shudde [aut, cre], František Bartoš [aut], Saptati Datta [aut], Riana Guha [aut], Sandy Pramanik [aut], Valen Johnson [aut]

BFF_4.3.0.tar.gz
BFF_4.3.0.zip(r-4.5)BFF_4.3.0.zip(r-4.4)BFF_4.3.0.zip(r-4.3)
BFF_4.3.0.tgz(r-4.5-any)BFF_4.3.0.tgz(r-4.4-any)BFF_4.3.0.tgz(r-4.3-any)
BFF_4.3.0.tar.gz(r-4.5-noble)BFF_4.3.0.tar.gz(r-4.4-noble)
BFF_4.3.0.tgz(r-4.4-emscripten)BFF_4.3.0.tgz(r-4.3-emscripten)
BFF.pdf |BFF.html
BFF/json (API)

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

Bug tracker:https://github.com/rshudde/bff/issues

On CRAN:

Conda:

4.08 score 1 stars 5 scripts 309 downloads 8 exports 29 dependencies

Last updated 7 months agofrom:09636c217c. Checks:8 ERROR. Indexed: yes.

TargetResultLatest binary
Doc / VignettesFAILFeb 12 2025
R-4.5-winERRORFeb 12 2025
R-4.5-macERRORFeb 12 2025
R-4.5-linuxERRORFeb 12 2025
R-4.4-winERRORFeb 12 2025
R-4.4-macERRORFeb 12 2025
R-4.3-winERRORFeb 12 2025
R-4.3-macERRORFeb 12 2025

Exports:chi2_test_BFFdnlnmf_test_BFFis.BFFposterior_plotregression_test_BFFt_test_BFFz_test_BFF

Dependencies:clicolorspacefansifarverggplot2gluegslgtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr