<div dir="ltr">Hi Chaitanya,<div><br></div><div>stat.prob reflects the 'p-values' resulting from your statistical test. So voxels expressing e.g. stat.prob < 0.05 should be considered reflecting a significant difference between conditions. The NaNs correspond to voxels outside the brain.</div>
<div><br></div><div>Since stat.mask is all zeros (which by default is just stat.prob < 0.05), this indicates there are no significant differences between your conditions. There is nothing we can help you with in this respect :)</div>
<div><br></div><div>Best,</div><div>Eelke</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 26 January 2014 09:06, Chaitanya Srinivas <span dir="ltr"><<a href="mailto:chaitanya.pro@gmail.com" target="_blank">chaitanya.pro@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi Eelke,<br> <br></div> I looked at the stat.stat values if that is what you mean. There are some NaNs , but also some values. Similarly in stat.prob, there are some 1's. The stat.mask is all zeros as you say.<br>
<br></div>Any further suggestions from you?<br></div>Thank you<br></div><div class="gmail_extra"><div class="im"><br clear="all"><div><div dir="ltr"><font face="arial, sans-serif"><div><b><div style="color:rgb(0,0,153)">
<font color="#000099">===============================================</font></div>
</b><br><b><img alt="Inline image 1" src="cid:ii_13f6c73ea79c7353"><br><br></b></div></font><font face="arial, sans-serif"><div><b>Best Regards</b></div></font><font face="arial, sans-serif"><div><b>Chaitanya Srinivas Lanka <br>
<br><span style="color:rgb(153,153,153)">Wiss. Mitarbeiter </span></b><span style="color:rgb(153,153,153)"><b><font face="arial, sans-serif">PhD Student</font><font face="arial, sans-serif"><b><br>
</b></font><span><font><span>Functional and Restorative Neurosurgery </span></font></span><span><font><span><font face="arial, sans-serif">Neural Information Processing</font></span></font></span><span><font><span><br>Neurosurgical University Hospital</span></font></span></b><b><span><font><font face="arial, sans-serif"><b> </b></font></font></span><span><font><font face="arial, sans-serif">Graduate Training Center for Neuroscience</font></font></span><span><font> <br>
<span>Eberhard Karls University </span></font></span><span><font><font face="arial, sans-serif">Eberhard Karls University</font></font></span><span><font><font face="arial, sans-serif"><b> </b></font><span><br>
</span></font></span></b></span><font face="arial, sans-serif"><span style="color:rgb(153,153,153)"><b><span><font><span>Otfried-Mueller-Str.45</span> </font></span>Österbergstr. 3</b></span><b><span style="color:rgb(153,153,153)"><font><span> <br>
D-72076 Tuebingen</span></font></span> </b><font face="arial, sans-serif"><b><span style="color:rgb(153,153,153)"><font><span>D-72074 Tuebingen</span></font></span></b></font></font><b><br>
</b></div><div><b><font color="#006600">Mobile Phone Number : </font><a value="+4917679038395">+49-176-79035731<br></a></b><a value="+4917679038395"><font face="arial, sans-serif"><b><font color="#000099">===============================================</font></b></font><br>
</a></div>
</font></div></div>
<br><br></div><div><div class="h5"><div class="gmail_quote">On Sun, Jan 26, 2014 at 8:53 AM, Eelke Spaak <span dir="ltr"><<a href="mailto:eelke.spaak@donders.ru.nl" target="_blank">eelke.spaak@donders.ru.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Dear Chaitanya,<div><br></div><div>Perhaps an obvious question: do you find any significant differences in the statistics step (inspect the stat structure)? If not, the mask will consist of all zeroes, hence giving you a 'blank' plot.</div>
<div><br></div><div>Best,</div><div>Eelke</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On 26 January 2014 08:46, Chaitanya Srinivas <span dir="ltr"><<a href="mailto:chaitanya.pro@gmail.com" target="_blank">chaitanya.pro@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><pre>Dear fieldtrip users,
I would like to do sourcestatistics on a group level with eeg data. I have a
pre and post intervention measurement for each of my 10 subjects
. After source reconstruction using an DICS beamformer
and volume normalization, I calculated the sourcegrandaverage for the pre and
post condition and i have avg.pow for each subject.<br><br> However, when I use the grandaverage results in ft_sourcestatistics in the
configuration shown below and plot the result I just get a blank anatomical
mri. It only runs with cfg.parameter="pow" .I tried with cfg.parameter = 'avg.pow' it doesnt run. <br>Do I have to set any additional parameters or am I making some mistake?<br>
cfg=[];
cfg.dim = grandAVGsourcePre.dim;
cfg.method = 'montecarlo';
cfg.statistic = 'depsamplesT';
cfg.parameter = 'pow';
cfg.correctm = 'cluster';
cfg.numrandomization = 1000;
cfg.alpha = 0.05;
cfg.tail = 0;
nsubj=length(sourcePre.trial);
cfg.design(1,:) = [1:nsubj 1:nsubj];
cfg.design(2,:) = [ones(1,nsubj) ones(1,nsubj)*2];
cfg.uvar = 1;
cfg.ivar = 2;
stat = ft_sourcestatistics(cfg, grandAVGsourcePre, grandAVGsourcePost);<br></pre><pre><font face="arial, sans-serif"><b><font color="#000099">and next interpolation<br></font></b></font> <br> cfg = [];<br>
cfg.voxelcoord = 'no';<br> cfg.parameter = 'mask';<br> cfg.interpmethod = 'nearest';<br> cfg.coordsys = 'mni';<br>
mask = ft_sourceinterpolate(cfg,stat,mri);<br> statplot.mask = mask.mask;<br><br><br><font face="arial, sans-serif"><b><font color="#000099">and then for plotting</font></b></font><br>
cfg = [];<br>cfg.method = 'slice';<br>cfg.funparameter = 'stat';<br>cfg.maskparameter = 'mask';<br> cfg.funcolorlim = [-0.1 0.1];<br> cfg.opacitylim = [-0.1 0.1]; <br>figure<br>ft_sourceplot(cfg, statplot);<br>
<br></pre><div><div dir="ltr"><font face="arial, sans-serif"><div><b><div style="color:rgb(0,0,153)"><font color="#000099"><br><br><br></font></div><div style="color:rgb(0,0,153)"><font color="#000099"><br></font></div><div style="color:rgb(0,0,153)">
<font color="#000099"><br><br><br><br>===============================================</font></div></b><br><b><img alt="Inline image 1" src="cid:ii_13f6c73ea79c7353"><br><br></b></div></font><font face="arial, sans-serif"><div>
<b>Best Regards</b></div></font><font face="arial, sans-serif"><div><b>Chaitanya Srinivas Lanka <br><br><span style="color:rgb(153,153,153)">Wiss. Mitarbeiter </span></b><span style="color:rgb(153,153,153)"><b><font face="arial, sans-serif">PhD Student</font><font face="arial, sans-serif"><b><br>
</b></font><span><font><span>Functional and Restorative Neurosurgery </span></font></span><span><font><span><font face="arial, sans-serif">Neural Information Processing</font></span></font></span><span><font><span><br>Neurosurgical University Hospital</span></font></span></b><b><span><font><font face="arial, sans-serif"><b> </b></font></font></span><span><font><font face="arial, sans-serif">Graduate Training Center for Neuroscience</font></font></span><span><font> <br>
<span>Eberhard Karls University </span></font></span><span><font><font face="arial, sans-serif">Eberhard Karls University</font></font></span><span><font><font face="arial, sans-serif"><b> </b></font><span><br>
</span></font></span></b></span><font face="arial, sans-serif"><span style="color:rgb(153,153,153)"><b><span><font><span>Otfried-Mueller-Str.45</span> </font></span>Österbergstr. 3</b></span><b><span style="color:rgb(153,153,153)"><font><span> <br>
D-72076 Tuebingen</span></font></span> </b><font face="arial, sans-serif"><b><span style="color:rgb(153,153,153)"><font><span>D-72074 Tuebingen</span></font></span></b></font></font><b><br>
</b></div><div><b><font color="#006600">Mobile Phone Number : </font><a value="+4917679038395">+49-176-79035731<br></a></b><a value="+4917679038395"><font face="arial, sans-serif"><b><font color="#000099">===============================================</font></b></font><br>
</a></div>
</font></div></div>
</div>
<br></div></div>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br></div>