Abstract:
The Drift Diffusion Model (DDM) is a canonical computational model for studying human binary decision-making. This model assumes that individuals continuously sample and integrate evidence related to choice options before making a decision, and that a decision is triggered and executed when the accumulated evidence reaches a predefined decision boundary. The Hierarchical Drift Diffusion Model (HDDM) extends the DDM by incorporating Bayesian hierarchical modeling methods. By simultaneously modeling parameters at individual and group levels, HDDM enables information sharing across hierarchical levels, thereby significantly enhancing the statistical power of parameter estimation. However, the appropriate use of HDDM requires researchers to possess relevant theoretical foundations and technical expertise, including understanding the model’s applicability conditions, experimental design requirements, and mastering modeling and parameter inference procedures. To facilitate the rigorous application of HDDM, this article provides a systematic user guide. In the theoretical section, we trace back to evidence accumulation models as the foundational theory, elaborating on the core assumptions of DDM and their constraints on experimental design, thereby helping researchers determine whether DDM is suitable for particular research questions. In the practical section, we present a complete standardized analytical workflow based on the dockerHDDM tool, covering Docker environment installation and dockerHDDM deployment, data preprocessing, model construction and fitting, model comparison, statistical inference, and result reporting. Finally, we offer practical recommendations for real-world applications of dockerHDDM. This article aims to build a comprehensive bridge from DDM theory to practical application, promoting the proper use of HDDM in cognitive research.