Skip to main content
. 2014 Mar 11;9(3):e91321. doi: 10.1371/journal.pone.0091321

Figure 1. Methodology for correlating EEG single-trial variability with baseline pupil diameter.

Figure 1

(A) We first estimate w, which is a linear weighting on the EEG sensors that maximally discriminates stimulus conditions: targets (red) vs. standards (green), shown in two dimensions for illustration purposes. This determines a task-relevant projection of the data, where the distance to the decision boundary reflects the decision certainty of the classifier. (B) From w we compute Inline graphic, which is the demeaned classifier output, Inline graphic, for each target trial, i. (In the text we refer to this variable as post-EEGcomp). (C) Given the Inline graphic's (post-EEGcomp) and their corresponding stimulus-onset time points, we compute the correlation with (D) baseline pupil diameter. This entire method was applied independently for multiple temporal windows, Inline graphic, spanning the trial.