Code for reproducing the analyses reported in the paper "Origin of perseveration in the trade-off between reward and complexity".
Some of the code requires the mfit package: https://github.com/sjgershm/mfit
Questions? Contact Sam Gershman (gershman@fas.harvard.edu).