Skip to content

lei-zhang/SIT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SIT

GitHub repo size GitHub language count DOI GitHub last commit
Twitter Follow Twitter Follow Lab2 Twitter Follow

Code and data for the social influence task (SIT), accompanying the paper:

Zhang, L. & Gläscher, J. (2020). A brain network supporting social influences in human decision-making. Science Advances, 6, eabb4159.
DOI: 10.1126/sciadv.abb4159.


Outreach:


This repository contains:

root
 ├── data # Preprocessed behavioral data & fMRI BOLD time series data
 │    ├── behavioral
 │    ├── fMRI
 ├── code # Matlab, R, & Stan code to run analyses and produce figures
 │    ├── behavioral
 │    ├── fMRI
 │    ├── stanmodel

Note 1: to properly run all scripts, you may need to set the root of this repository as your working directory.
Note 2: to properly run all modeling analyses, you may need to install the {RStan} package in R.
Note 3: to reproduce the Matlab figures, you may need the NaN Suite, the color brewer toolbox, the niceGroupPlot kit, and the offsetAxes function.


Behavioral analyses

Computational modeling

* Interested in how to code computational models in Stan? Feel free to check out my BayesCog lectures (recipient of the 2020 SIPS Commendation, Society for the Improvement of Psychological Science).

fMRI BOLD time-series analyses

* See our tutorial paper (Zhang & Lengersdorff et al., 2020) for more details regarding the justification/solidification of prediction error signals.

fMRI connectivity analyses


For bug reports, please contact Lei Zhang ([email protected], or @lei_zhang_lz).

Thanks to Markdown Cheatsheet and shields.io.


LICENSE

This license (CC BY-NC 4.0) gives you the right to re-use and adapt, as long as you note any changes you made, and provide a link to the original source. Read here for more details.