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


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.

In psyarxiv
Click the Cite button above to demo the feature to enable visitors to import publication metadata into their reference management software.
Click the Preprint button below abstract to check all other Preprint in the website.