Inter Subject Correlation in EEG

This is matlab code to compute intersubject correlation (ISC) in EEG using correlated component analysis,
as described in the references below (description closest to the present code is in Cohen and Parra, 2016).

isceeg.m -- main code, keeping clutter to a minimum.

You will need these files to run this code:

Other ISC files:


Find papers here.

  1. Samantha S. Cohen, Lucas C. Parra, Memorable audiovisual narratives synchronize sensory and supramodal neural responses, eNeuro, 3(6), November 2016. Full text,
  2. Agustin Petroni, Samantha Cohen, Nicolas Langer, Simon Henin, Tamara Vanderwal, Michael P. Milham, Lucas C. Parra, Children, particularly males, exhibit higher intersubject correlation of neural responses to natural stimuli than adults", in review. preprint
  3. Andreas Trier Poulsen, Simon Kamronn, Jacek Dmochowski, Lucas C. Parra, Lars Kai Hansen, Measuring engagement in a classroom: Synchronised neural recordings during a video presentation. in review. preprint
  4. Jason Ki, Simon Kelly, Lucas C. Parra, Attention strongly modulates reliability of neural responses to naturalistic narrative stimuli. Journal of Neuroscience, 36 (10), 3092-3101.
  5. Jacek P. Dmochowski, Matthew A. Bezdek, Brian P. Abelson, John S. Johnson, Eric H. Schumacher, Lucas C. Parra, Audience preferences are predicted by temporal reliability of neural processing, Nature Communication, 5567, July 2014.
  6. Jacek P. Dmochowski, Paul Sajda, Joao Dias, Lucas C. Parra, Components of ongoing EEG with high correlation point to emotionally-laden attention -- a possible marker of engagement?, Frontiers in Human Neuroscience, 6:112, April 2012.