This is the code and data used in
Frömer, R., Nassar, M. R., Bruckner, R., Stürmer, B., Sommer, W., & Yeung, N. (2021). Response-based outcome predictions and confidence regulate feedback processing and learning. eLife, 10, e62825. doi:10.7554/eLife.62825
which can be found here: