Drift-Diffusion Model

Guide fitting and evaluation of drift-diffusion models for two-choice reaction-time data.

34|5|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/HaoxuanLiTHUAI/awesome_cognitive_and_neuroscience_skills --skill drift-diffusion-model
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: Drift-Diffusion Model
Source: https://github.com/HaoxuanLiTHUAI/awesome_cognitive_and_neuroscience_skills/tree/main/skills/drift-diffusion-model
Command: npx skills add https://github.com/HaoxuanLiTHUAI/awesome_cognitive_and_neuroscience_skills --skill drift-diffusion-model

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill provides expert guidance on selecting, fitting, and evaluating drift-diffusion models for two-choice reaction-time data in cognitive science, enabling researchers to decompose observed RT and accuracy into latent cognitive components.

Core Features & Use Cases

  • Model selection across DDM variants (classic, full, EZ-diffusion, HDDM) for two-choice tasks.
  • Parameter interpretation and linking: drift rate, boundary separation, non-decision time, starting point.
  • Comprehensive fitting workflow guidance: data preparation, model fitting strategies, convergence checks, and model comparison.
  • Practical examples: planning experiments, diagnosing fit issues, and interpreting parameter changes across conditions.

Quick Start

Run a guided walkthrough to fit a drift-diffusion model to two-choice RT data.

Frequently Asked Questions about Drift-Diffusion Model

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fit a drift-diffusion model to two-choice reaction time data?▼

To fit a drift-diffusion model, you prepare two-choice RT data with cutoffs and accuracy checks, select a DDM variant, estimate parameters via MLE or Bayesian methods, and validate using posterior predictive checks.

What is drift-diffusion modeling used for in cognitive science?▼

Drift-diffusion modeling decomposes observed two-choice RT and accuracy data into latent cognitive components like drift rate, boundary separation, and non-decision time.

How do I choose between classic DDM, EZ-diffusion, and HDDM for my experiment?▼

Choose DDM variants based on your trial counts and fitting needs: EZ-diffusion offers simple analytical estimates for limited data, while HDDM enables hierarchical Bayesian parameter estimation across subjects.

What data quality checks are required before fitting a drift-diffusion model?▼

Required data quality checks for drift-diffusion modeling include applying RT cutoffs, verifying accuracy ranges, and performing parameter recovery simulations to ensure robust model fitting.

Can I use Bayesian methods for drift-diffusion model fitting and comparison?▼

Yes, Bayesian methods are supported for drift-diffusion model fitting, offering a structured workflow for convergence checks, model comparison, and posterior predictive validation.

Why are my drift-diffusion model parameters not recovering accurately?▼

Inaccurate parameter recovery in drift-diffusion modeling often results from insufficient per-condition trial counts, overly restrictive RT cutoffs, or failing to perform rigorous parameter recovery simulations before fitting.