[FieldTrip] Combine Grand Average

Raquel Bibi bibi.raquel at gmail.com
Thu Mar 22 04:34:36 CET 2012


Mark,
Can you calculate the weighted mean by hand?
(Data1.individual*no_of_trials(data1) +
Data2.individual*no_of_trials(data2)) / (no_trials(data1) +
no_of_trials(data2))

If so, no need to redo!



On Tue, Mar 20, 2012 at 4:37 AM, Mark Noordenbos
<mark.noordenbos at gmail.com>wrote:

> Hi Jörn, Steve and Eelke,
>
> Thanks for the suggestions for combining grand averages.
> Unfortunately, ft_appendtimelock did not work for the grand averages.
>
> Probably, the only proper way to this is to make completely new grand
> averages with all conditions included, instead of a grand average for each
> condition and combine them later.
>
> To quickly view the outcome of combining the grand averages of 2
> conditions a calculated the mean by hand:
>
> datatot.individual = (data1.individual + data2.individual)/2;
>
> Kind regards,
>
> Mark
>
>
> --
> Mark Noordenbos, MSc
>
> Radboud University Nijmegen
> Behavioural Science Institute
>
> P.O. Box 9104, Room A05.36
> 6500 HE Nijmegen
> The Netherlands
>
> Email: m.noordenbos at bsi.ru.nl
> Telephone: +31 24 3612070
> Fax:          +31 24 3616211
>
> http://www.ru.nl
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120321/0d11f1da/attachment-0002.html>


More information about the fieldtrip mailing list