<div dir="ltr">Hi Zsolt,<div>To complement Stan's suggestions, in case of power differences between conditions, you could use ft_stratify:</div><div><a href="http://www.fieldtriptoolbox.org/example/stratify">http://www.fieldtriptoolbox.org/example/stratify</a></div><div>best,</div><div>Diego</div><div><br></div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On 17 June 2016 at 10:51, Pelt, S. van (Stan) <span dir="ltr"><<a href="mailto:stan.vanpelt@donders.ru.nl" target="_blank">stan.vanpelt@donders.ru.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div lang="NL" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Hi Zsolt,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">The amount to which this may be a concern will depend on the measures you want to compare. Also, the risk of drawing incorrect (qualitative) conclusions
will of course mainly be large around your statistical threshold value (e.g. p=0.05). Power differences might become biased if groups have unequal size, power begin a squared value. See for a suggested numerical correction method for this, when comparing power
spectra or e.g. Bokil et al., 2007 (</span><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><a href="http://www.ncbi.nlm.nih.gov/pubmed/16945422" target="_blank"><span lang="EN-US">http://www.ncbi.nlm.nih.gov/pubmed/16945422</span></a></span><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">),
but I assume there are also other solutions going around. <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Best,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Stan<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div style="border-style:solid none none;border-top-width:1pt;border-top-color:rgb(181,196,223);padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10pt;font-family:Tahoma,sans-serif">From:</span></b><span lang="EN-US" style="font-size:10pt;font-family:Tahoma,sans-serif"> <a href="mailto:fieldtrip-bounces@science.ru.nl" target="_blank">fieldtrip-bounces@science.ru.nl</a> [mailto:<a href="mailto:fieldtrip-bounces@science.ru.nl" target="_blank">fieldtrip-bounces@science.ru.nl</a>]
<b>On Behalf Of </b>Zsolt Turi<br>
<b>Sent:</b> vrijdag 17 juni 2016 9:32<br>
<b>To:</b> FieldTrip discussion list<br>
<b>Subject:</b> [FieldTrip] Difference in trial number per condition<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Hi,</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">I was wondering if FieldTrip has an optimized solution for such situations when the amount of trials in one condition markedly differs from the number of trials
in the other (e.g., the ratio is 1:3 or 1:4). </span><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US">On the website I have found that this issue was already discussed, however, it is not clear to me whether this was indeed addressed by a FieldTrip function. Below
is the link about the question I was referring to: </span><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US"><a href="http://www.fieldtriptoolbox.org/faq/how_does_a_difference_in_trial_numbers_per_condition_affect_my_statistical_test" target="_blank">http://www.fieldtriptoolbox.org/faq/how_does_a_difference_in_trial_numbers_per_condition_affect_my_statistical_test</a></span><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US">In case there is no such a function, could someone provide me a rough procedure that is methodologically acceptable in the scientific community to compensate
for this issue? </span><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US">I am interested both in conceptual and implementational aspects. I would like to compare TFR or WPLI measures between two conditions and use non-parametric cluster-based
permutation test for statistical analysis. My data is characterized by a within-subjects design, in case this is relevant information.
</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Thanks for your input in advance,</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Zsolt</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br></div></div></div>