[Eeglablist] Averaging conditions in STUDY vs Command Line

Arnaud Delorme arno at ucsd.edu
Mon Aug 19 23:12:27 PDT 2013


Dear Nikola,

combining conditions will concatenate the trials for the 2 conditions. So if you have the same number of trials in both conditions, the result below should be equivalent. If you have different numbers of trials, the result will differ (if you use combine, the result will be the grand average of all the trials from both conditions - this will not be the case if you average two ERSP). There are also some issues of scaling. You should not average ERSP in log space, but in absolute power space.

Arno

On 19 Aug 2013, at 14:09, Nikola Vukovic wrote:

> Dear list,
> 
> Until now, I assumed that selecting several conditions and combining them into one condition (using the "combine selected values" in STUDY design window) simply averages the given conditions. Once I got more comfortable with command line scripting, I started averaging them manually (by plotting the conditions separately, then averaging their ersp data output. For  example ersp_avg = (ersp{1,1} + ersp{2,1})/2). However, I find that the outputs I get when manually averaging, and when averaging variables in STUDY design are completely different (compare http://cl.ly/image/0E010I0g1x21 and http://cl.ly/image/3O01242E0b0M).
> Where does this difference come from? What exactly does the "combine selected values" function do?
> 
> Thank you,
> Nikola
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20130819/e0af17d4/attachment.html>


More information about the eeglablist mailing list