A Comparison of Four Methods for Simulating the Diffusion Process
Overview
Social Sciences
Authors
Affiliations
Four methods for the simulation of the Wiener process with constant drift and variance are described. These four methods are (1) approximating the diffusion process by a random walk with very small time steps; (2) drawing directly from the joint density of responses and reaction time by means of a (possibly) repeated application of a rejection algorithm; (3) using a discrete approximation to the stochastic differential equation describing the diffusion process; and (4) a probability integral transform method approximating the inverse of the cumulative distribution function of the diffusion process. The four methods for simulating response probabilities and response times are compared on two criteria: simulation speed and accuracy of the simulation. It is concluded that the rejection-based and probability integral transform method perform best on both criteria, and that the stochastic differential approximation is worst. An important drawback of the rejection method is that it is applicable only to the Wiener process, whereas the probability integral transform method is more general.
Gronau Q, Moran R, Eidels A Sci Rep. 2024; 14(1):17109.
PMID: 39048689 PMC: 11269681. DOI: 10.1038/s41598-024-68127-x.
Bayesian confidence in optimal decisions.
Calder-Travis J, Charles L, Bogacz R, Yeung N Psychol Rev. 2024; 131(5):1114-1160.
PMID: 39023934 PMC: 7617410. DOI: 10.1037/rev0000472.
Expressions for Bayesian confidence of drift diffusion observers in fluctuating stimuli tasks.
Calder-Travis J, Bogacz R, Yeung N J Math Psychol. 2024; 117:102815.
PMID: 38188903 PMC: 7615478. DOI: 10.1016/j.jmp.2023.102815.
The effect of speed-stress on driving behavior: A diffusion model analysis.
Vanunu Y, Ratcliff R Psychon Bull Rev. 2022; 30(3):1148-1157.
PMID: 36289182 PMC: 10130231. DOI: 10.3758/s13423-022-02200-2.
An adaptive rejection sampler for sampling from the Wiener diffusion model.
Hartmann R, Meyer-Grant C, Klauer K Behav Res Methods. 2022; 55(5):2283-2296.
PMID: 36260272 PMC: 10439040. DOI: 10.3758/s13428-022-01870-z.