Code and data for: Gershman, S.J. (2018). Deconstructing the human algorithms for exploration. Cognition.
To run some of the functions, you will need the MFIT toolbox (github.com/sjgershm/mfit).
Data: Each csv file contains data for a single experiment.
- data1.csv is a bandit task with one stochastic arm and one deterministic arm
- data2.csv is a bandit task with two stochastic arms
Columns in each csv file:
- subject #
- block #
- trial #
- mu1 (mean reward for arm 1)
- mu2 (mean reward for arm 2)
- choice (which arm was selected)
- reward (points)
- response time (milliseconds)