Coder Social home page Coder Social logo

aghaderi / spatial_attenncm Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 1.0 1.83 MB

spatial_attenNCM (Spatial Attention Neuro-Cognitive Modeling) used some hierarchical neuro-cognitive models to find out the spatial attention effect on perceptual decision making.

License: MIT License

Jupyter Notebook 85.34% Stan 7.26% Python 7.40%
attention cognitive-modeling decision-making joint-modeling pystan single-trial-analysis drift-diffusion-model model-based-cognitive-neuroscience

spatial_attenncm's Introduction

spatial_attenNCM

The current repository is for a project named "Neuro-cognitive models of single-trial EEG measures describe latent effects of spatial attention during perceptual decision making" at the Shahid Beheshti University

Authors: Amin Ghaderi-Kangavari, Jamal Amani Rad, Kourosh Parand, & Michael D. Nunez

Citation

Ghaderi-Kangavari, A., Rad, J. A., Parand, K., & Nunez, M. D. (2022). Neuro-cognitive models of single-trial EEG measures describe latent effects of spatial attention during perceptual decision making, Journal of Mathematical Psychology, 111; doi: https://doi.org/10.1016/j.jmp.2022.102725

Prerequisites

Python 3 and Scientific Python libraries

pystan

Abstract

Visual perceptual decision-making involves multiple components including visual encoding, attention, accumulation of evidence, and motor execution. Recent research suggests that EEG oscillations can identify the time of encoding and the onset of evidence accumulation during perceptual decision-making. Although scientists show that spatial attention improves participant performance in decision making, little is known about how spatial attention influences the individual cognitive components that gives rise to that improvement in performance. We found evidence in this work that both visual encoding time (VET) before evidence accumulation and other non-decision time process after or during evidence accumulation are influenced by spatial top-down attention, but not evidence accumulation itself. Specifically we used an open-source data set in which participants were informed about the location of a target stimulus in the visual field on some trials during a face-car perceptual decision-making task. Fitting neural drift-diffusion models to response time, accuracy, and single-trial N200 latencies (~ 125 to 225 ms post-stimulus) of EEG allowed us to separate the processes of visual encoding and the decision process from other non-decision time processes such as motor execution. These models were fit in a single step in a hierarchical Bayesian framework. Model selection criteria and comparison to model simulations show that spatial attention manipulates both VET and other non-decision time processes.

See also

hddm package: a package to fit and evaluate hierarchical Drift-Diffusion Models using pyMC. We adapted the Stan functions of DDMs with intrinsic trial-to-trial variability from the likelihood derivations in this package.

rlssm package: a package to fit and evaluate hierarchical Drift-Diffusion Models (and Reinforcement Learning models) using pystan. Some of these functions were used in plotting.py of this repository.

pyhddmjags package: some example scripts to fit and evaluate hierarchical Drift-Diffusion Models using pyjags and pystan.

brms package: a package to fit multiple models, including Drift-Diffusion Models, in Stan using R. We adapted the Stan functions of DDMs with intrinsic trial-to-trial variability from the Stan code generated from brms.

spatial_attenncm's People

Contributors

aghaderi avatar amanirad avatar mdnunez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

nian-jingqing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.