<div dir="ltr"><div><div>Hi Mary-Jo,<br><br></div>Are you sure you need individual trials? Normally, for a group-level comparison of means, the unit of observation would be the subject-wise averages, rather than all the trials; as far as I can think of, the only time you would want individual trials for timelock statistics would be if you are doing analysis on a single participants (like in the example at <a href="http://www.fieldtriptoolbox.org/tutorial/cluster_permutation_timelock#between-trials_experiments">http://www.fieldtriptoolbox.org/tutorial/cluster_permutation_timelock#between-trials_experiments</a>) or if you are computing event-related regression coefficients rather than event-related averages. Can you give more detail about what you're trying to do, what code you used to try running your statistics, and what error you got?<br><br></div><div>Best,<br></div>Steve<br><div><div><div><div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span><div><br><br>---<br></div>Stephen Politzer-Ahles<br>University of Oxford<br>Language and Brain Lab<br>Faculty of Linguistics, Phonetics & Philology<br><a href="http://users.ox.ac.uk/~cpgl0080/" target="_blank">http://users.ox.ac.uk/~cpgl0080/</a></span></div></div></div></div></div></div></div>
<div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Message: 4<br>
Date: Wed, 24 Feb 2016 10:01:04 +0000<br>
From: "Diepeveen, Mary-Jo" <<a href="mailto:Mary-Jo.Diepeveen@mpi.nl">Mary-Jo.Diepeveen@mpi.nl</a>><br>
To: "<a href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a>" <<a href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a>><br>
Subject: [FieldTrip] ft_timelockgrandaverage with trials<br>
Message-ID:<br>
        <<a href="mailto:9AEBC8200222F443B6E297F0D479F1311C486C5A@UM-EXCDAG-A03.um.gwdg.de">9AEBC8200222F443B6E297F0D479F1311C486C5A@UM-EXCDAG-A03.um.gwdg.de</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hello all,<br>
<br>
I have done an EEG study in which I have four conditions per subjects and two different subject groups. I would now like to compare the same condition between the two subject groups. To do this, I first tried ft_timelockanalysis with cfg.keeptrials=' yes'  after which I tried to do ft_timelockgrandaverage. I get the following message: Warning depreciating trial field using the avg to compute the grand average (bug2372). After some googling I found an old post saying that ft_timelockgrandaverage does not support input data with "trial" field, meaning then that what I am trying to do is not possible. Trying to do the statistics after anyways also did not work because I need the .trial field. The post I found is however, from 2014 so I was wondering if this problem is fixed now. I have thought of my own way around this, but I was wondering if you maybe have any ideas too.<br>
<br>
Thanks!<br>
<br>
Mary-Jo<br><br></blockquote></div><br></div></div></div></div></div></div>