This folder contains analysis scripts used in the paper "Normative evidence weighting and accumulation in correlated environments" by Nathan Tardiff, Jiwon Kang, and Joshua I. Gold.
The data are available at: https://osf.io/qygkc/.
The analysis code (analysis and DDM fitting) is avalable at at: https://github.com/TheGoldLab/Analysis_Tardiff_Kang_Correlated.
Paths may need to be changed and processed data/model outputs generated in order to run scripts.
Make sure files in the matlab_dependencies folder are on your matlab path.
In addition to the supporting files included, analysis scripts/model fitting rely on the following outside dependences:
MATLAB
- imatlab: https://github.com/imatlab/imatlab
- VBA Toolbox: https://mbb-team.github.io/VBA-toolbox/
Python
- PyDDM: https://pyddm.readthedocs.io/en/latest/
- numpy
- scipy
- matplotlib
- pandas
R
- lme4
- lmerTest
- dplyr
- car