youngahn / hBayesDM

An R package for hierarchical Bayesian modeling of RLDM tasks.

Home Page:https://ccs-lab.github.io/hBayesDM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hBayesDM

Project Status: Active - The project has reached a stable, usable state and is being actively developed.Build StatusBuild statuscodecov

The hBayesDM (hierarchical Bayesian modeling of Decision-Making tasks) is a user-friendly R package that offers hierarchical Bayesian analysis of various computational models on an array of decision-making tasks. The hBayesDM package uses Stan for Bayesian inference.

Installation

(For Windows users) First download and install Rtools from this link: http://cran.r-project.org/bin/windows/Rtools/. For detailed instructions, please go to this link: https://github.com/stan-dev/rstan/wiki/Installing-RStan-on-Windows.

You need to install the hBayesDM from CRAN. The GitHub version precompiles all Stan models, which makes it faster to start MCMC sampling. But it may cause some memory allocation issues on a Windows machine.

(For Mac/Linux users) If you are a Mac user, make sure Xcode is installed. We strongly recommend users install this GitHub version. The GitHub version in the master repository is identical to the CRAN version, except that all models are precompiled in the GitHub version, which saves time for compiling Stan models.

You can install the latest version from github with:

# install 'devtools' if required
if (!require(devtools)) install.packages("devtools")  
devtools::install_github("CCS-Lab/hBayesDM")

Please go to hBayesDM Tutorial for more information about the package.

If you encounter a problem or a bug, please use our mailing list: https://groups.google.com/forum/#!forum/hbayesdm-users, or you can directly create an issue on GitHub.

About

An R package for hierarchical Bayesian modeling of RLDM tasks.

https://ccs-lab.github.io/hBayesDM


Languages

Language:C++ 70.5%Language:R 23.7%Language:Stan 5.8%Language:Shell 0.0%