DataFinder

Learn

Finding a dataset is the first step — the next is doing something with it. These hands-on tutorials take you from a dataset in the directory to a real analysis you can run yourself. Each pairs a runnable, tested core with code for a real open dataset.

New here? Each card is tagged by depth. A gentle path is Social Reward & Trust (Beginner) → Inter-Subject Correlation (Beginner → Intermediate) → Value-Based Modeling (Intermediate).

Intermediate~2–3 hours

Value-Based Modeling from Harm Aversion to fMRI

Start with a moral question — would you hurt someone for money? — and the value-based choice model behind it. Then transfer the same machinery to real, open NARPS loss-aversion data: fit choices, and use each person’s fitted parameter to map value in the brain.

Computational modelingModel-based fMRIDecision makingReal NARPS data
Three panels of behavioral modeling on real NARPS choices: the model's accept-probability curve matching observed choices, the distribution of loss-aversion lambda across participants, and per-participant model accuracy exceeding the base rate.

Real, executed result: the value-based choice model — the same machinery as harm aversion — fit to 26 NARPS participants' actual choices. It predicts behavior at 92.8% accuracy and recovers each person's loss aversion (λ).

What you'll learn

  • What a computational model of behavior is, and why social neuroscientists use them
  • The value-based choice model (softmax over subjective value) behind harm and loss aversion
  • Maximum-likelihood fitting, and checking it works with parameter recovery
  • Fitting the model to real NARPS choices — and showing it predicts behavior (92.8% accuracy)
  • Model-based fMRI: turning each person’s fitted parameter into a brain map
  • Running the full pipeline on a real, open dataset (NARPS) with nilearn

Three steps

  1. 1
    Learn the model

    Build the softmax value model (the harm-aversion paradigm) and recover its parameters from simulated choices, so you trust the method before touching real data. numpy + scipy only.

  2. 2
    Fit real NARPS choices

    Fit the same model to 26 real participants’ gamble choices: recover each person’s loss aversion λ and show the model predicts their choices at 92.8% accuracy (pseudo-R² 0.69).

  3. 3
    Model-based fMRI on NARPS

    Model gain and loss, then form the subjective-value map as a λ-weighted contrast of the two — mapping where the brain tracks value. Executed end-to-end on the real dataset.

Beginner → Intermediate~2 hours

Inter-Subject Correlation on a Naturalistic Movie

When people watch the same socially-rich film, their brains respond in similar, time-locked ways. Measure that shared response — no stimulus model needed — and watch the social brain track a movie full of people.

Naturalistic fMRIInter-subject correlationSocial brainnilearn
An inter-subject correlation brain map from 13 participants watching the Partly Cloudy movie: strong synchronization across visual cortex extending into temporal, parietal, and dorsomedial prefrontal (social-brain) regions.

Real, executed result: inter-subject correlation across 13 people watching the same movie. Visual cortex synchronizes most, with the social brain (dorsomedial PFC, near the TPJ) close behind.

What you'll learn

  • Why naturalistic stimuli (movies, stories) are powerful for studying the social brain
  • Inter-subject correlation (ISC) and the standard leave-one-out estimator
  • Telling a real ISC from noise with a circular-shift permutation test
  • Running ISC on real fMRI with nilearn: atlas parcellation and region time series
  • Interpreting high-ISC regions — sensory cortex and the social brain (STS, TPJ, mPFC)

Three steps

  1. 1
    ISC + leave-one-out

    Simulate multi-subject movie data and compute leave-one-out ISC, recovering known ground truth. numpy + scipy only.

  2. 2
    Test it’s real

    Build a circular-shift permutation null that destroys cross-subject time-alignment, and test whether the social-region ISC beats it.

  3. 3
    Real movie data (executed)

    Fetch real Partly Cloudy movie fMRI with nilearn, parcellate with the Schaefer atlas, and compute ISC — the brain map shows visual cortex and the social brain (dmPFC, near the TPJ) synchronizing.

Beginner~2–4 hours

Social Reward and Trust Across Adulthood

Use a lifespan social-neuroscience question — do younger and older adults respond differently to friends, strangers, and computer partners? — to learn age-group comparisons, partner effects, and one first-level friend-versus-stranger fMRI GLM.

AgingTrust gameSocial rewardfMRI GLM
Two-panel tutorial figure showing simulated trust-game behavior by partner type for younger and older adults, plus model estimates for partner and age-by-partner effects.

Runnable teaching demo: younger and older adults make trust-game decisions with computer, stranger, and friend partners. The real-data workflow applies the same structure to OpenNeuro ds005123, with an optional friend > stranger GLM.

What you'll learn

  • How to turn lifespan aging into a social-neuroscience question
  • Quantifying partner effects in trust-game behavior: friend, stranger, and computer
  • Testing age-group-by-partner interactions with a transparent linear model
  • Mapping BIDS event files into social regressors for nilearn
  • Running one first-level fMRI GLM for a friend > stranger contrast

Three steps

  1. 1
    Build the behavioral model

    Run a no-download trust-game demo, plot age group by partner type, and estimate partner plus age-by-partner effects with numpy, pandas, and scipy.

  2. 2
    Apply it to OpenNeuro ds005123

    Download the social reward events, infer partner labels, summarize younger and older adults' trust behavior, and reuse the same model on real task files.

  3. 3
    Run one social GLM

    Use BIDS events as regressors in nilearn and compute a simple friend > stranger contrast for one trust-task run.

More tutorials coming

Have an idea for a hands-on walkthrough — EEG of social interaction, social-network analysis, hyperscanning? Suggestions and contributions are welcome.