Repository for "Searching for rewards like a child means less generalization and more directed exploration"
Schulz, Wu, Ruggeri and Meder (Psychological Science, 2019)
We highlight the most important parts of each folder below
A: Walk-throughs
1Behavioral Results: Walks you through all of the reported behavioral results, i.e. every single test reported in our paper, including effect sizes and Bayes Factors.
2Bonus round results: Walks you through the reported bonus round results, i.e. all of the tests reported in our paper concerning the 10 round including effect sizes and Bayes Factors.
3Modeling results: Walks you through the reported modeling results, i.e. all of the tests reported in our paper concerning the modeling and parameter estimate results including effect sizes and Bayes Factors.
B: Data
1Full data: This is the raw data of all participants. We use the same data set but named "kwgdata.csv" in all of our analyses. Both data sets can be found in this folder.
2Model data: This is the data, both the predictive accuracy and parameter estimates, for the GP-UCB model. We use the same data set but named "rbfucb.csv" in all of our analyses. Both data sets can be found in this folder.
3Learning curves data: This is the data for the simulated learning curves. We use the same data set but named "learningcurves.csv" in all of our analyses. Both data sets can be found in this folder.
C: Code
1Behavioral tests: This contains all of the behavioral tests performed in our manuscript, including effect sizes and Bayes factors.
2Bonus round tests: This contains all of the bonus round tests performed in our manuscript, including effect sizes and Bayes factors.
3Model comparison: This contains all of the model comparisons performed in our manuscript, including effect sizes and Bayes factors.
4Cross validation: This contains the full cross validation code to compare all of the models based on there leave-one-round-out cross validation error. NOTE: You will need a cluster to run this, because it will otherwise take too long.
5Models:This contains the code for all the learning models and sampling strategies applied in our manuscript and SI.
D: Plots
1Main plot: Figure 1 in our manuscript, showing all behavioral and modeling results.
2Bonus plot: Figure 2 in our manuscript, showing the bonus round results.
E. Experiment
Install cordova: npm install -g cordova
Navigate to ~/E_Experiment/www/ and add browser to the cordova environment: cordova platform add browser
run the experiment: cordova run browser
F. Paper
1Manuscript: Full manuscript as pdf-file. This can also be found on Biorxiv
2Main tex file: Main tex file for producing the manuscript.
2Bib tex file: Bib tex file containing all of the references.
About
Kids with grids (Schulz, Wu, Ruggeri and Meder, 2019)