A method, framework, and tutorial for efficiently simulating models of decision-making

Open Access
Authors
Publication date 10-2019
Journal Behavior Research Methods
Volume | Issue number 51 | 5
Pages (from-to) 2390-2404
Number of pages 15
Organisations
  • Faculty of Social and Behavioural Sciences (FMG) - Psychology Research Institute (PsyRes)
Abstract

Evidence accumulation models (EAMs) have become the dominant models of rapid decision-making. Several variants of these models have been proposed, ranging from the simple linear ballistic accumulator (LBA) to the more complex leaky-competing accumulator (LCA), and further extensions that include time-varying rates of evidence accumulation or decision thresholds. Although applications of the simpler variants have been widespread, applications of the more complex models have been fewer, largely due to their intractable likelihood function and the computational cost of mass simulation. Here, I present a framework for efficiently fitting complex EAMs, which uses a new, efficient method of simulating these models. I find that the majority of simulation time is taken up by random number generation (RNG) from the normal distribution, needed for the stochastic noise of the differential equation. To reduce this inefficiency, I propose using the well-known concept within computer science of "look-up tables" (LUTs) as an approximation to the inverse cumulative density function (iCDF) method of RNG, which I call "LUT-iCDF". I show that when using an appropriately sized LUT, simulations using LUT-iCDF closely match those from the standard RNG method in R. My framework, which I provide a detailed tutorial on how to implement, includes C code for 12 different variants of EAMs using the LUT-iCDF method, and should make the implementation of complex EAMs easier and faster.

Document type Article
Note With supplementary files
Language English
Published at https://doi.org/10.3758/s13428-019-01219-z
Other links https://osf.io/7jzcb/
Downloads
Permalink to this page
Back