fmott/context_dependent_planning: v1.0
收藏资源简介:
Contains behavioural raw data, fMRI statistical maps and analysis scripts to reproduce the result of the study. Description Data <strong>behaviour:</strong> Raw behavioural data data of all 40 participants. <strong>fmri:</strong> fMRI statistical maps underlying Figure 4, Figure 5 and Tables S2-S5. Contains individual contrast images for all 40 participants and group level unthresholded T-maps. Also contains masks of the dorsal anterior cingulate cortex (dACC) and the dorsolateral prefrontal cortex (dlPFC), used for small volume correction. <strong>model:</strong> Contains files with posterior samples and summary statistics of the three computational models Planning (PM), Simple (SM) and Hybrid (HM) and the reaction time analysis. Contains posterior predictive simulations for HM. Also contains the leave-one-out information criterion (LOOIC) for the PM, SM and HM used for model comparison. Code <strong>generate_figure2.py:</strong> Generates Figure 2. <strong>generate_figure3.py:</strong> Generates Figure 3. <strong>generate_S2_figure.py:</strong> Generates S2 Figure. <strong>generate_S1_table.R:</strong> Logistic regression of choice against task features underlying S1 table. <strong>fit_choice_models.ipynb:</strong> Jupyter notebook implementing model fitting and computation of LOOIC for the three models PM, SM and HM. <strong>fit_RT_model.ipynb:</strong> Jupyter notebook implementing hierarchical Bayesian linear regression of response times against conflict and context. <strong>parameter_recovery.ipynb:</strong> Jupyter notebook implementing parameter recovery analysis for model HM. <strong>backward_induction.py:</strong> Function used to compute expected long-term values via backward induction. <strong>simulate_agents.py:</strong> Simulate behavior of agents using a planning, simple, hybrid or random strategy.



