References
The likelihood of the diffusion decision model, or DDM, (the Wiener first passage time distribution) is already implemented in stan (see stan’s manual).
The likelihood functions of the race models are implemented by us in stan, and are based on the following papers:
Race diffusion model (RDM): Tillman, G., Van Zandtc, T., & Loganb, G. D. Psychon Bull Rev (2020), RDM paper
Linear ballistic accumulator (LBA): Brown, S. D., & Heathcote, A. Cognitive psychology (2008), LBA paper
Advantage LBA: van Ravenzwaaij, D., Brown, S. D., Marley, A. A. J., & Heathcote, A. Psychological review (2020), ALBA paper
Advantage RDM: Miletić, S., Boag, R. J., Trutti, A. C., Stevenson, N., Forstmann, B. U., & Heathcote, A. (2021), ARDM paper
The RLDDMs (combinations of RL and DDM, diffusion decision model) are based on the following papers:
Fontanesi, L., Gluth, S., Spektor, M.S. & Rieskamp, J. Psychon Bull Rev (2019), RLDDM paper 1
Fontanesi, L., Palminteri, S. & Lebreton, M. Cogn Affect Behav Neurosci (2019), RLDDM paper 2
For a more in-depth explanation of the model’s cognitive mechanisms and theories, please refer to https://osf.io/fbpmh/.