This folder contains analysis scripts used in the paper "Rule-based and stimulus-based cues bias auditory decisions via different computational and physiological mechanisms" by Nathan Tardiff, Lalitta Suriya-Arunroj, Yale E. Cohen, and Joshua I. Gold.
The data are available at: https://osf.io/f9nyr/.
The analysis code (analysis and DDM fitting) is avalable at at: https://github.com/TheGoldLab/Analysis_Tardiff_etal_AuditoryPriors.
Paths may need to be changed and processed data/model outputs generated in order to run scripts.
The matlab_dependencies folder should be added to the path for all matlab scripts.
In addition to the supporting files included, analysis scripts/model fitting rely on the following outside dependences:
- imatlab: https://github.com/imatlab/imatlab
- VBA Toolbox: https://mbb-team.github.io/VBA-toolbox/
- subtightplot: https://www.mathworks.com/matlabcentral/fileexchange/39664-subtightplot
- legendflex: https://www.mathworks.com/matlabcentral/fileexchange/31092-legendflex-m-a-more-flexible-customizable-legend
- pval_adjust: https://www.mathworks.com/matlabcentral/fileexchange/55142-fakenmc-pval_adjust
- shadedErrorBar: https://www.mathworks.com/matlabcentral/fileexchange/26311-raacampbell-shadederrorbar
- suplabel: https://www.mathworks.com/matlabcentral/fileexchange/7772-suplabel
- PyDDM: https://pyddm.readthedocs.io/en/latest/