Reinforcement learning + drift-diffusion model repository.
Requires mfit package: https://github.com/sjgershm/mfit
Two-armed bandit task: see load_data_bandit.m and fit_bandit.m
Go/NoGo task: see load_data_gonogo.m and fit_gonogo.m
Multi-alternative value-based choice task: see fit_multi.m
Questions? Contact Sam Gershman ([email protected]).