rstanBF computes the Bayes Factor for data in specified two-level hierarchical models.
It wraps the package bridgesampling, and provides methods to compute the Bayes Factor for comparing two sets of samples.
Documentation for the stable version is available here.
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')
The implemented models are:
- Dirichlet-Dirichlet
- Dirichlet-FoldedNormal
- Dirichlet-DirichletGamma
- Normal-Normal