Skip to content

rstanBF computes the Bayes Factor for specified two-level hierarchical models.

Notifications You must be signed in to change notification settings

lgaborini/rstanBF

Repository files navigation

rstanBF

rstanBF computes the Bayes Factor for data in specified two-level hierarchical models.

Build Status Codecov test coverage

It wraps the package bridgesampling, and provides methods to compute the Bayes Factor for comparing two sets of samples.

Documentation

Documentation for the stable version is available here.

Installation

rstanBF is not yet available on CRAN.
You can install the development version from this repository using devtools or remotes:

# install.packages('remotes')
remotes::install_github('lgaborini/rstanBF')

Implemented models

The implemented models are:

  • Dirichlet-Dirichlet
  • Dirichlet-FoldedNormal
  • Dirichlet-DirichletGamma
  • Normal-Normal