drbenvincent / Xu-GonzalezVallejo-Vincent

Data and code supporting Xu, Gonzalez-Vallejo, & Vincent (submitted)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Waiting in inter-temporal choice tasks affects discounting and subjective time perception

This repository contains data and analysis code in support of the paper

Xu. P., Gonzalez-Vallejo, C. & Vincent, B. T. (in press) Waiting in inter-temporal choice tasks affects discounting and subjective time perception. Journal of Experimental Psychology: General.

We conduct Hierarchical Bayesian analysis on raw inter-temporal choice data using the methods outlined in Vincent (2016). The original implementation in Matlab is available at https://github.com/drbenvincent/delay-discounting-analysis, but here we use a Python based implementation using PyMC3 (Salvatier, Wiecki, & Fonnesbeck, 2016). We ran parameter recovery simulations, and parameter estimation from the data, for the modified Rachlin discount function (Vincent, & Stewart, 2020).

See the Jupyter notebooks (the *.ipynb files) to see the various analyses undertaken.

References

Salvatier J., Wiecki T.V., Fonnesbeck C. (2016) Probabilistic programming in Python using PyMC3. PeerJ Computer Science 2:e55, https://doi.org/10.7717/peerj-cs.55

Vincent, B. T. (2016). Hierarchical Bayesian estimation and hypothesis testing for delay discounting tasks. Behavior Research Methods, 48(4), 1608–1620. http://doi.org/10.3758/s13428-015-0672-2

Vincent, B. T., & Stewart, N. (2020). The case of muddled units in temporal discounting. Cognition. 198, 1-11. https://doi.org/10.1016/j.cognition.2020.104203

Xu. P., Gonzalez-Vallejo, C. & Vincent, B. T. (in press) Waiting in inter-temporal choice tasks affects discounting and subjective time perception. Journal of Experimental Psychology: General.

About

Data and code supporting Xu, Gonzalez-Vallejo, & Vincent (submitted)

License:MIT License


Languages

Language:Jupyter Notebook 98.7%Language:Python 1.3%