Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?


Failed to load latest commit information.
Latest commit message
Commit time
September 10, 2022 21:34
December 16, 2020 12:13
June 30, 2019 14:19
August 30, 2019 15:13
December 16, 2020 03:57
September 3, 2019 15:06
September 8, 2022 13:50
December 14, 2018 12:01
July 21, 2020 11:16


Project Status: Active – The project has reached a stable, usable state and is being actively developed. Build Status CRAN Latest Release Downloads DOI

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

Now, hBayesDM supports both R and Python!

Quick Links


If you used hBayesDM or some of its codes for your research, please cite this paper:

  title = {Revealing Neurocomputational Mechanisms of Reinforcement Learning and Decision-Making With the {hBayesDM} Package},
  author = {Ahn, Woo-Young and Haines, Nathaniel and Zhang, Lei},
  journal = {Computational Psychiatry},
  year = {2017},
  volume = {1},
  pages = {24--57},
  publisher = {MIT Press},
  url = {doi:10.1162/CPSY_a_00002},


We thank HuaFeng Lu who designed and donated the logo for the hBayesDM package.


The research was supported by the Institute for Information and Communications Technology Planning and Evaluation (IITP) grant funded by the Korea government (MSIT) (No. 2019-0-01367, BabyMind), the Basic Science Research Program through the National Research Foundation (NRF) of Korea funded by the Ministry of Science, ICT, and Future Planning (NRF-2018R1C1B3007313 and NRF-2018R1A4A1025891), and the Creative-Pioneering Researchers Program through Seoul National University to Woo-Young Ahn.