These Matlab codes perform simulations described in a paper “Dopamine role in learning and action inference”. The following files were used to generate the figures in the manuscript:
Figures 3C and 4B: inference_example.m
Figures 6B-C: action_intensity.m
Figure 7: devaluation.m
Figure 9: two_choice.m
By downloading this dataset, you agree that you will not attempt to identify any individual subjects.
Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) This is a human-readable summary of (and not a substitute for) the licence. You are free to: Share — copy and redistribute the material in any medium or format Adapt — remix, transform, and build upon the material for any purpose, even commercially. This licence is acceptable for Free Cultural Works. The licensor cannot revoke these freedoms as long as you follow the license terms. Under the following terms: Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same licence as the original. No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the licence permits.