» Articles » PMID: 37640960

The Seven-parameter Diffusion Model: an Implementation in Stan for Bayesian Analyses

Overview
Publisher Springer
Specialty Social Sciences
Date 2023 Aug 28
PMID 37640960
Authors
Affiliations
Soon will be listed here.
Abstract

Diffusion models have been widely used to obtain information about cognitive processes from the analysis of responses and response-time data in two-alternative forced-choice tasks. We present an implementation of the seven-parameter diffusion model, incorporating inter-trial variabilities in drift rate, non-decision time, and relative starting point, in the probabilistic programming language Stan. Stan is a free, open-source software that gives the user much flexibility in defining model properties such as the choice of priors and the model structure in a Bayesian framework. We explain the implementation of the new function and how it is used in Stan. We then evaluate its performance in a simulation study that addresses both parameter recovery and simulation-based calibration. The recovery study shows generally good recovery of the model parameters in line with previous findings. The simulation-based calibration study validates the Bayesian algorithm as implemented in Stan.

References
1.
Arnold N, Broder A, Bayen U . Empirical validation of the diffusion model for recognition memory and a comparison of parameter-estimation methods. Psychol Res. 2014; 79(5):882-98. PMC: 4534506. DOI: 10.1007/s00426-014-0608-y. View

2.
Forstmann B, Ratcliff R, Wagenmakers E . Sequential Sampling Models in Cognitive Neuroscience: Advantages, Applications, and Extensions. Annu Rev Psychol. 2015; 67:641-66. PMC: 5112760. DOI: 10.1146/annurev-psych-122414-033645. View

3.
Hartmann R, Johannsen L, Klauer K . rtmpt: An R package for fitting response-time extended multinomial processing tree models. Behav Res Methods. 2020; 52(3):1313-1338. DOI: 10.3758/s13428-019-01318-x. View

4.
Heck D, Arnold N, Arnold D . TreeBUGS: An R package for hierarchical multinomial-processing-tree modeling. Behav Res Methods. 2017; 50(1):264-284. PMC: 5809562. DOI: 10.3758/s13428-017-0869-7. View

5.
Lerche V, Voss A . Experimental validation of the diffusion model based on a slow response time paradigm. Psychol Res. 2017; 83(6):1194-1209. DOI: 10.1007/s00426-017-0945-8. View