Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Kids with grids

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

  • 1 Behavioral 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.

  • 2 Bonus 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.

  • 3 Modeling 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

  • 1 Full 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.

  • 2 Model 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.

  • 3 Learning 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

  • 1 Behavioral tests: This contains all of the behavioral tests performed in our manuscript, including effect sizes and Bayes factors.

  • 2 Bonus round tests: This contains all of the bonus round tests performed in our manuscript, including effect sizes and Bayes factors.

  • 3 Model comparison: This contains all of the model comparisons performed in our manuscript, including effect sizes and Bayes factors.

  • 4 Cross 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.

  • 5 Models:This contains the code for all the learning models and sampling strategies applied in our manuscript and SI.

D: Plots

  • 1 Main plot: Figure 1 in our manuscript, showing all behavioral and modeling results.

  • 2 Bonus plot: Figure 2 in our manuscript, showing the bonus round results.

E. Experiment

  1. Install cordova: npm install -g cordova
  2. Navigate to ~/E_Experiment/www/ and add browser to the cordova environment: cordova platform add browser
  3. run the experiment: cordova run browser

F. Paper

  • 1 Manuscript: Full manuscript as pdf-file. This can also be found on Biorxiv

  • 2 Main tex file: Main tex file for producing the manuscript.

  • 2 Bib tex file: Bib tex file containing all of the references.

About

Kids with grids (Schulz, Wu, Ruggeri and Meder, 2019)

Resources

Releases

No releases published
You can’t perform that action at this time.