CRAN/E | BFF

BFF

Bayes Factor Functions

Installation

About

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. For replicated designs, the "r" parameter in each function can be adjusted to be greater than 1. Plots of BFFs versus effect size provide informative summaries of hypothesis tests that can be easily aggregated across studies.

Citation BFF citation info

Key Metrics

Version 3.0.1
R ≥ 2.10
Published 2023-11-04 184 days ago
Needs compilation? no
License GPL-2
License GPL-3
CRAN checks BFF results

Downloads

Yesterday 7 0%
Last 7 days 88 -19%
Last 30 days 306 +7%
Last 90 days 845 -21%
Last 365 days 3.454 +96%

Maintainer

Maintainer

Rachael Shudde

rachael.shudde@gmail.com

Authors

Rachael Shudde

aut / cre

Saptati Datta

aut

Riana Guha

aut

Sandy Pramanik

aut

Valen Johnson

aut

Material

Reference manual
Package source

Vignettes

BFF_vignette

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

BFF archive

Depends

R ≥ 2.10

Imports

BSDA
grDevices
graphics
hypergeo
ggplot2
Matrix
gsl
stats

Suggests

testthat ≥ 2.1.0
knitr
rmarkdown