This repository contains analysis code and data for the following manuscript:
Park, Doh, Lee, Park, and Ahn "The neurocognitive role of working memory load when Pavlovian motivational control affects instrumental learning"
preprint DOI: https://doi.org/10.1101/2022.08.01.502269
fMRI data: https://openneuro.org/datasets/ds004647/versions/1.0.2
code: code for analysis and plottingbehav: code for behavioral analysis1_task_performance: behavioral analysis; Figure 22_fit_model: fit models using Rstan (Hierarchical Bayesian Analysis)3_plot_modeling_output: compare models with leave-one-out cross-validation information criterion (LOOIC) and plot posterior distributions of the best-fitting model; Figure 34_choice_consistency: plot choice consistency with task data and model regressors
fMRI: code for fMRI analysis; each folder includes 1st-level and 2nd-level GLM codesGLM1: model-based fMRI analysis using reward prediction error (RPE); Figure 5AGLM2: categorical fMRI analysis related to Pavlovian biasGLM3: model-based fMRI analysis using decision valuePPI: PPI analysis; Figure 5Bsmoothing: codes for smoothing
data: task data and model regressorscovariates: covariate table for fMRI analysisdata_behav: task datadata_modelregW: model regressors (action weights for go (Wgo) and nogo (Wnogo))seed_striatum_cluster_forPPI: seed region (striatum) cluster for PPI analysis
stanmodel: stan files for models