Drift Diffusion MATLAB Model

Just spent a good eight/nine hours redesigning my website from the ground up. I’m happy with the result (for a few months at least), so figured I’d take a little break and make a blog entry. I finally got round to implementing the drift diffusion model a few weeks back, one of the classical models of decision making. This is essentially the random walker with a bias, or “drift” towards one of the choices (in a two alternative forced choice task). This is one of the results from a simulation:

Drift diffusion model implemented in MATLAB.

Drift diffusion model implemented in MATLAB.

As always, the code that produced this is available over at my GitHub. I’ll be attempting the pooled inhibition model shortly, as well as investigating some more focused behavioural experiments with honeybees and drosophila. 

Advertisements