A Hitchhiker’s Guide to Bayesian Hierarchical Drift-Diffusion Modeling with dockerHDDM

Chuan-Peng Hu*, Haiyang Geng, Lei Zhang, Alexander Fengler, Michael Frank, Ru-Yuan Zhang*

*Corresponding author for this work

Research output: Working paper/PreprintPreprint

Abstract

Drift diffusion models (DDM) are widely used to investigate decision-making processes in psychology, behavioral economics, neuroscience, and psychiatry. As one of the most cited software packages, HDDM (Hierarchical Bayesian estimation of DDMs), a python library, has been useful in helping researchers with minimal coding experience fit DDMs and other sequential sampling models to their experimental data. Despite the popularity of HDDM, its compatibility issues during installation and the lack of advanced Bayesian modeling functionalities, unfortunately, hamper its further applications in research practices. To circumvent these challenges, we integrated Bayesian modeling Python package ArviZ into HDDM and encapsulated them into a virtualized ready-to-use package in Docker, called dockerHDDM. Augmented by ArviZ, dockerHDDM provides richer data analysis functions and data visualization tools. This tutorial provides a hands-on guide on how to use dockerHDDM to efficiently conduct Bayesian hierarchical analysis of DDMs and is expected to facilitate the implementation, analysis, and reproducibility of DDMs. The workflow showcased here can be further generalized into broader applications of Bayesian data analysis.
Original languageEnglish
PublisherPsyArXiv
DOIs
Publication statusPublished - 1 Nov 2022

Fingerprint

Dive into the research topics of 'A Hitchhiker’s Guide to Bayesian Hierarchical Drift-Diffusion Modeling with dockerHDDM'. Together they form a unique fingerprint.

Cite this