<h2>Repository for "Development of directed and random exploration in children"</h2>
<p>This repository contains the data, code, and analyses for "Development of directed and random exploration in children"</p>
<h3>A: Data</h3>
<ul>
<li>The behavioral data of all participants is located in <code>data/ykwg_data.csv</code></li>
<li>The behavioral data for the bonus round is located in <code>data/ykwg_data_bonusround.csv</code></li>
<li>The data for the model comparisons, including the predictive accuracy of each model and individual participant parameter estimates, are located in <code>data/modelFit.csv</code>. For details on the considered models, see Supplement A in the paper. </li>
<li>The GP-UCB model predictions for the bonus round (expected reward and asociated uncertainty of unknown tiles) are located in <code>data/modelPredictionsBonusRound.csv</code>. See Appendix B for details.</li>
</ul>
<h3>B: Analyses</h3>
<p>All analyses are described in two <em>R</em> notebooks, which provide step-by-step guides of all analyses and plots.</p>
<ul>
<li>Code for reproducing all analyses and plots of the behavioral data are in <code>ykwg_behavioral_results.Rmd</code>. This R Markdown file loads the data and conducts the analyses, rendering <code>ykwg_behavioral_results.html</code></li>
<li>Code for the model-based analyes are in <code>ykwg_model_results.Rmd</code>, which renders <code>ykwg_model_results.html</code></li>
<li>The folder <code>brm</code> contains the reported Bayesian regression models, performed via <a href="https://mc-stan.org" rel="nofollow">Stan</a> and accessed through <em>R</em>-package <a href="https://github.com/paul-buerkner/brms" rel="nofollow">brms</a>. </li>
</ul>
<h3>C. Paper</h3>
<ul>
<li>The full manuscript, including appendices and supplement materials, is labeled <code>directed_random_exploration.pdf</code> . </li>
</ul>