lei-zhang / SIT

Code and data for Zhang & Gläscher (2020)

Home Page:https://advances.sciencemag.org/content/6/34/eabb4159

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 (lei.zhang@univie.ac.at, 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.

About

Code and data for Zhang & Gläscher (2020)

https://advances.sciencemag.org/content/6/34/eabb4159

License:Other


Languages

Language:Stan 70.2%Language:MATLAB 25.8%Language:R 4.0%