R package for Bayes factors

January 19, 2013

(This article was originally published at Statistical Modeling, Causal Inference, and Social Science, and syndicated at StatsBlogs.)

Richard Morey writes:

You and your blog readers may be interested to know that a we’ve released a major new version of the BayesFactor package to CRAN. The package computes Bayes factors for linear mixed models and regression models. Of course, I’m aware you don’t like point-null model comparisons, but the package does more than that; it also allows sampling from posterior distributions of the compared models, in much the same way that your arm package does with lmer objects. The sampling (both for the Bayes factors and posteriors) is quite fast, since the back end is written in C.

Some basic examples using the package can be found here, and the CRAN page is here.

Indeed I don’t like point-null model comparisons . . . but maybe this will be useful to some of you!

Please comment on the article here: Statistical Modeling, Causal Inference, and Social Science

Tags: , ,