The data and source code for the article Variable-drift diffusion models of pedestrian road-crossing decisions. The code is provided as is for open science, review and reproducibility purposes and is mostly undocumented. Please contact [email protected] for further usage instructions.
Most of the analysis is done in fit_d2p.py
. The results of the article are available
as different functions. See the end of the file to reproduce.
Running the analyses requires the crossmods
package available here: https://github.com/jampekka/crossmods/