<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Julian, <br>
<br>
thank you. Seems to work! <br>
<br>
Cheers<br>
Kristoffer<br>
<br>
<div class="moz-cite-prefix">On 08/13/2015 10:40 AM, Julian Keil
wrote:<br>
</div>
<blockquote
cite="mid:D2AD0A7A-A151-4B81-B404-48915911F28C@gmail.com"
type="cite">
<pre wrap="">Hi Kristoffer,
you don't have to average over subjects before computing the statistics.
You can feed a cell structure with your source-level data into the ft_sourcestatistics function.
E.g. stats = ft_sourcestatistics(cfg,data1{:},data2{:})
Good Luck
Julian
Am 13.08.2015 um 10:32 schrieb Kristoffer Appel:
</pre>
<blockquote type="cite">
<pre wrap="">Hi all,
I analyze data from an EEG experiment. Within-subject design, 8 subjects each produced trial data in two conditions.
I have used ft_sourceanalysis on the data from ft_freqanalysis for obtaining the source data for each subject and each conditon, which works (at least ft_sourceplot shows something which seems to make sense).
I use ft_sourcegrandaverage on the data of one condition of all 8 subjects, and a grand average is computed. So far, so good.
But:
I specify cfg.keepindividual = 'yes';
However, the single subject data are not kept, so I can't use ft_sourcestatistics.
What could I have done wrong?
Kind regards
Kristoffer
--
Kristoffer Appel, M.Sc.
Institut für Kognitionswissenschaft
Universität Osnabrück
Albrechtstraße 28, 49076 Osnabrück
Raum: 31/405
Tel: +49-541-969-7090, Fax:+49-541-969-2246
Email: <a class="moz-txt-link-abbreviated" href="mailto:krisappel@uos.de">krisappel@uos.de</a>
_______________________________________________
fieldtrip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>
<a class="moz-txt-link-freetext" href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
fieldtrip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>
<a class="moz-txt-link-freetext" href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Kristoffer Appel, M.Sc.
Institut für Kognitionswissenschaft
Universität Osnabrück
Albrechtstraße 28, 49076 Osnabrück
Raum: 31/405
Tel: +49-541-969-7090, Fax:+49-541-969-2246
Email: <a class="moz-txt-link-abbreviated" href="mailto:krisappel@uos.de">krisappel@uos.de</a></pre>
</body>
</html>