[Eeglablist] Epoching correct answers

Baris Demiral demiral.007 at googlemail.com
Sun Jan 17 05:55:37 PST 2010

After you epoch the whole data with the longest interval, you go through the
epochs and use EEG.epoch(1,j).eventtype(1,k) from 6<k<10 and check whether
any correct response (hopefully you have a specific trigger for these)
occurred (you can use for/isequal), if not you put the epoch to the
incorrect category. Best way to understand what I am saying is to open an
epoched file and investigate the EEG.epoch structure. Then you can re-epoch
again and make shorter epochs for correct trials.

On Tue, Jan 12, 2010 at 4:32 PM, Pruce, Benjamin <bpruce at indiana.edu> wrote:

> Hello,
> I am new to EEGlab and have a question about epochs.  I have a Rapid
> Serial Visual Presentation sentence comprehension study and I would
> like to only include correct answers for analysis of epochs.  My main
> problem is that the event I wish to epoch occurs 6 to 10 flags before
> the subject actually responds. The extra flags and response information
> I do not want included for the event, only to test as correct or
> incorrect.  How could I go about doing this?  I was going to make one
> long epoch that starts at the first flag and includes up until the
> response, but I am still not sure how I can then reject trials that do
> not pair correctly.  I realize I could do it by hand using trial
> rejection, but I was wondering if there is a faster way to do this?
> Any kind direction will be greatly appreciated as I am still learning
> the major uses of the software.
> Best,
> Ben Pruce
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu

SB Demiral, PhD.
Department of Psychology
7 George Square
The University of Edinburgh
Edinburgh, EH8 9JZ
Phone: +44 (0131) 6503063
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20100117/32c1dacd/attachment.html 

More information about the eeglablist mailing list