Welcome!
~
This OSF repository hosts the raw and preprocessed behavior and questionnaire data for *Cognitive strategy use selectively changes temporal context effects in risky monetary decision-making* (Brooks & Sokol-Hessner, submitted).
There are two additional wiki pages in this repository that include variable keys for the 7 raw data files ([key here][1]) and 3 preprocessed .Rdata files ([key here][2]).
~
Analysis, task and other scripts can be found on Github:
https://github.com/sokolhessnerlab/rcs/tree/main/analysis
with the most relevant scripts:
1. [Main text and Supplementary Analysis script][3]: runs and outputs main analyses reported in the manuscript and supplementary analyses
2. [Data Set up script][4]: loads the necessary data files and sets up variables for the analysis scripts.
The Github repository also includes scripts for data quality checks, data cleaning, scoring questionnaires, parameter recovery, as well as stimuli and task code for running the gambling and working memory tasks in Python/PsychoPy.
Please email hayley_brooks@brown.edu for any questions or clarifications about the scripts.
[1]: https://osf.io/2wb5z/wiki/Variable%20key%20for%20raw%20data%20files/
[2]: https://osf.io/2wb5z/wiki/Variable%20key%20for%20preprocessed%20.Rdata%20files/
[3]: https://github.com/sokolhessnerlab/rcs/blob/main/analysis/rcsModel_SupplementalMaterials.Rmd
[4]: https://github.com/sokolhessnerlab/rcs/blob/main/analysis/rcsDataSetup.R