This code provides a new implementation of the model from Ott et al. 2021 and tests is against hypotheses from our Restaurant Row and WebSurf data. It generates the figures provided in our response.
It was written to work in Matlab 2021a (9.10.0.1602886) by A. David Redish.
To generate the figures, run KP_bioRxiv_figures.
Ott, T., Masset, P., Gouvea, T. S., & Kepecs, A. (2021). Apparent sunk cost effect in rational agents. bioRxiv.
AD Redish, BM Sweis, SV Abram, AA Duin, R Kazinka, A Kocharian, A MacDonald III, B Schmidt, N Schmitzer-Torbert, M. Thomas (2021) The sunk cost model proposed by Ott et al. 2021 cannot explain the observed sunk cost data seen in variants of the Restaurant Row and WebSurf tasks. bioRxiv.