Repository for post-decision confirmation bias paper.
You can obtain the data for the perceptual task from: https://doi.org/10.6084/m9.figshare.7048430
If you use the data or the code, please cite: Talluri, B. C., Urai, A. E., Tsetsos, K., Usher, M., Donner, T. H. (2018) Confirmation bias through selective overweighting of choice-consistent evidence. Current Biology 28, 1-8. doi: 10.1016/j.cub.2018.07.052
The repository is organized into the following folders:
- Perceptual_Experiment: Code to run the perceptual experiment. This code uses Psychtoolbox-3 (http://psychtoolbox.org/) on MATLAB.
- Data: Contains raw data from both perceptual and numerical tasks. The data for numerical task was obtained from Bronfman et al. 2015 (https://datadryad.org/resource/doi:10.5061/dryad.40f6v). The folder also contains analysis-ready data files that are called by the analysis scripts, to replicate the figures and results in the paper. In addition, matlab scripts that give the analysis-ready data files from the raw data files are also provided in the folder. All data files are in csv format.
- Code: Contains all analysis scripts to replicate the figures and other results in the paper.
Note: All the scripts have been commented for readers to understand and any functions used in these scripts that are not built-in have been added. However, please understand that the description may not be complete and if you run into any issues while running the code please contact Bharath Chandra Talluri (firstname.lastname@example.org) or Anne Urai (email@example.com).
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. If you use the Software for your own research, cite the paper.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.