[Eeglablist] Varying number of channels and computing grand mean ERPs
Edward Justin Modestino, M.Phil.
modestino at ccs.fau.edu
Fri Jul 15 11:06:50 PDT 2005
Hello,
I am relatively new to EEGLAB. I have been doing my data analysis,
writing my own programs, in MATLAB. I am interested in using the EEGLAB
GUI. I have my data imported into EEGLAB.
The first problem was that my data was constructed on a channel by channel
basis with artifact removal, i.e. only epochs (trials) within specific
channels which have artifacts are removed. This leads to a varying amount
of epochs (trials) per channel within the same condition. Thus, channel
F5 may end up with 250 epochs for one condition and whereas channel P04
may end up with 190 epochs for the very same condition. Often a channel
may go in and out during an experiment, or an artifact, other than an eye
movement, may be present in in a select group of channels, ie, temporal
channels and muscle artifacts, etc. So, the only way this data can be
kept is in a cell array. This is the way my advisor instructed me to do
this.
This causes a problem with the importation into EEGLAB, which requires and
a matrix, which obviously necessitates equal dimensions or the same
amount of epochs for each channel.
What I have done is find the lowest common number of epochs per channel.
Often this does not leave me with enough data. If some channels have 120
or 130 epochs, I delete all the data for that channel and use a higher cut
off of epochs, like say 192. So, all channels that have less than 192
epochs, have all their data thrown away, whereas all channels with more
than 192 epochs, say 260, have every epoch over 192 thrown away. Thus, I
end up with data which has the same amount of epochs in each channel with
data, i.e. 192. Those without data are excluded from importation. I do
not use them in the location file.
In doing this, I have thrown out whole channels completely which had some
data and many epochs for channels with a high amount of intact epochs
(trials) for a condition.
Now, I have this in EEGLAB and can do analysis. But, if I wish to do a
grand mean ERP or compare different subjects for the same condition, I
will run into a problem. Some subjects may have a specific channel while
others do not. How can I perform a group analysis on a number of subjects
when they have varying numbers of channels? One subject may have 75
channels and another may have 82 channels. How can I do a group analysis
(grand mean ERP) of the data when channel F5 is only present for 2 of the
4 subjects? How do I compare subjects for multiple conditions when each
subject and each condition for each subject has a different electrode
location file and a varying number of electrodes? How will I be able to
compare ERPs between subjects for say channel F5, if F5 is electrode
number 5 for subject number 1 whereas F5 is electrode number 7 for subject
number 2?
Please let me know if you have any advice on how to make the most of my
data and conduct various analyses using EEGLAB.
Thank you,
Ed Modestino
---------------------------------------------------
Edward Justin Modestino, M.Phil.
Graduate Research Assistant
Cognitive Neurophysiology Laboratory
Center for Complex Systems and Brain Sciences
Ph.D. Program in Complex Systems and Brain Sciences
Florida Atlantic University
(561) 297-2238
Fax: (561) 297-3634
modestino at walt.ccs.fau.edu
http://www.ccs.fau.edu/~modestino/
Lab: http://www.ccs.fau.edu/~bressler/CNL/CNL.html
---------------------------------------------------
It is not worth an intelligent man's time to be in the majority. By
definition, there are already enough people to do that.
G. H. Hardy (1877 - 1947)
The less their ability, the more their conceit.
Ahad HaAm
More information about the eeglablist
mailing list