BFpack: Flexible Bayes Factor Testing of Scientific Theories in R

by   Joris Mulder, et al.

There has been a tremendous methodological development of Bayes factors for hypothesis testing in the social and behavioral sciences, and related fields. This development is due to the flexibility of the Bayes factor for testing multiple hypotheses simultaneously, the ability to test complex hypotheses involving equality as well as order constraints on the parameters of interest, and the interpretability of the outcome as the weight of evidence provided by the data in support of competing scientific theories. The available software tools for Bayesian hypothesis testing are still limited however. In this paper we present a new R-package called BFpack that contains functions for Bayes factor hypothesis testing for the many common testing problems. The software includes novel tools (i) for Bayesian exploratory testing (null vs positive vs negative effects), (ii) for Bayesian confirmatory testing (competing hypotheses with equality and/or order constraints), (iii) for common statistical analyses, such as linear regression, generalized linear models, (multivariate) analysis of (co)variance, correlation analysis, and random intercept models, (iv) using default priors, and (v) while allowing data to contain missing observations that are missing at random.


page 1

page 2

page 3

page 4


Simple Bayesian testing of scientific expectations in linear regression models

Scientific theories can often be formulated using equality and order con...

Bayesian Testing of Scientific Expectations Under Exponential Random Graph Models

The exponential random graph (ERGM) model is a popular statistical frame...

Default Bayesian Model Selection of Constrained Multivariate Normal Linear Models

A default Bayes factor is proposed for evaluating multivariate normal li...

Default Bayes Factors for Testing the (In)equality of Several Population Variances

Testing the (in)equality of variances is an important problem in many st...

A tutorial on generalizing the default Bayesian t-test via posterior sampling and encompassing priors

With the advent of so-called default Bayesian hypothesis tests, scientis...

A Puzzle of Proportions: Two Popular Bayesian Tests Can Yield Dramatically Different Conclusions

Testing the equality of two proportions is a common procedure in science...

A Generalization of the Savage-Dickey Density Ratio for Testing Equality and Order Constrained Hypotheses

The Savage-Dickey density ratio is a specific expression of the Bayes fa...

Please sign up or login with your details

Forgot password? Click here to reset