<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Davide,
<div class=""><br class="">
</div>
<div class="">I may have misunderstood the question behind your question, but indeed FieldTrip’s statfuns treat each data point (channel-time-frequency) as a single ‘univariate' variable, and compute a mass univariate statistic.</div>
<div class=""><br class="">
</div>
<div class="">So, where you say: '<font color="#212529" face="Aptos, sans-serif" class=""><span style="font-size: 11pt;" class="">-why an F-score is obtained for each dependent variable;</span><span style="caret-color: rgb(33, 37, 41); font-size: 14.666666984558105px;" class="">’</span><span style="font-size: 11pt;" class=""> ->
 this is just the way that the function works, per definition</span></font></div>
<div class=""><font color="#212529" face="Aptos, sans-serif" class=""><span style="font-size: 11pt;" class="">and where you say: '-why the other dependent variables are not included in this computation</span><span style="caret-color: rgb(33, 37, 41); font-size: 14.666666984558105px;" class="">’</span><span style="font-size: 11pt;" class=""> ->
 well, they are, but they are indeed all treated as univariate quantities.</span></font></div>
<div class=""><font color="#212529" face="Aptos, sans-serif" class=""><span style="font-size: 11pt;" class=""><br class="">
</span></font></div>
<div class=""><font color="#212529" face="Aptos, sans-serif" class=""><span style="font-size: 11pt;" class="">I think that the </span><span style="font-size: 14.666666984558105px;" class="">‘</span><span style="font-size: 11pt;" class="">multivariate</span><span style="font-size: 14.666666984558105px;" class="">’</span><span style="font-size: 11pt;" class=""> in
 the name of the function refers to the multivariate nature of the design, and not to the intention of combining the multivariate data into a single test statistic.</span></font></div>
<div class=""><font color="#212529" face="Aptos, sans-serif" class=""><span style="font-size: 11pt;" class=""><br class="">
</span></font></div>
<div class=""><font color="#212529" face="Aptos, sans-serif" class=""><span style="font-size: 11pt;" class="">Perhaps Eric Maris can chime in here, he wrote the original function, I never use it myself.</span></font></div>
<div class=""><font color="#212529" face="Aptos, sans-serif" class=""><span style="font-size: 11pt;" class=""><br class="">
</span></font></div>
<div class=""><font color="#212529" face="Aptos, sans-serif" class=""><span style="font-size: 11pt;" class="">Best wishes,</span></font></div>
<div class=""><font color="#212529" face="Aptos, sans-serif" class=""><span style="font-size: 11pt;" class="">Jan-Mathijs</span></font></div>
<div class=""><font color="#212529" face="Aptos, sans-serif" class=""><span style="font-size: 11pt;" class=""><br class="">
</span></font></div>
<div class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 27 May 2024, at 19:48, Davide Simeone via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" class="">fieldtrip@science.ru.nl</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;" class="">
<span lang="EN-US" style="color: rgb(33, 33, 33);" class="">Dear community, </span><b class=""><span style="font-size: 24pt; color: rgb(33, 33, 33);" class=""><o:p class=""></o:p></span></b></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;" class="">
<span lang="EN-US" style="color: rgb(33, 33, 33);" class="">I would like to ask a theoretical question. In the ‘</span><span style="color: rgb(33, 33, 33);" class="">ft_statfun_depsamplesFmultivariate’ function, the statistic computation is made by a for cycle
 on each sample, that would correspond, in a classical problem following the tutorial ‘</span><span style="color: rgb(33, 37, 41);" class="">Cluster-based permutation tests on time-frequency data’, to a ‘time frequency channel’ value, in the most complex case.
 In a within subject experiment, I would think about each of these values as dependent variables (but maybe I’m already wrong here). Assuming that my previous affirmation is correct, I don’t understand </span><b class=""><span style="font-size: 24pt; color: rgb(33, 33, 33);" class=""><o:p class=""></o:p></span></b></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;" class="">
<span style="color: rgb(33, 37, 41);" class="">-why an F-score is obtained for each dependent variable; </span><b class=""><span style="font-size: 24pt; color: rgb(33, 33, 33);" class=""><o:p class=""></o:p></span></b></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;" class="">
<span style="color: rgb(33, 37, 41);" class="">-why the other dependent variables are not included in this computation.</span><b class=""><span style="font-size: 24pt; color: rgb(33, 33, 33);" class=""><o:p class=""></o:p></span></b></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;" class="">
<span style="color: rgb(33, 37, 41);" class="">In simpler words, it seems that the function acts as doing multiple ANOVA tests, instead of a multivariate one. My comprehension of these statistics tests is limited, so I could be wrong about the assumptions that
 I have done, but I would like to improve my understanding and be clarified even more if that is the case.</span><b class=""><span style="font-size: 24pt; color: rgb(33, 33, 33);" class=""><o:p class=""></o:p></span></b></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;" class="">
<span style="color: rgb(33, 37, 41);" class="">Greetings,</span><b class=""><span style="font-size: 24pt; color: rgb(33, 33, 33);" class=""><o:p class=""></o:p></span></b></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;" class="">
<span style="color: rgb(33, 37, 41);" class="">Davide</span><b class=""><span style="font-size: 24pt; color: rgb(33, 33, 33);" class=""><o:p class=""></o:p></span></b></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;" class="">
<span style="font-size: 10pt; font-family: Menlo; color: rgb(33, 33, 33);" class=""> </span><span style="color: rgb(33, 33, 33);" class=""><o:p class=""></o:p></span></div>
<div style="margin: 0cm; font-size: 11pt; font-family: Aptos, sans-serif;" class="">
<o:p class=""> </o:p></div>
</div>
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">fieldtrip
 mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=05%7C02%7Cfieldtrip%40science.ru.nl%7C4077444e967d498e10cd08dc85336fc0%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638531703160449650%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=2YUVM7DrcY4lLnYaVgnt7ou00NIuS1nUBIYYVfQxB%2B8%3D&reserved=0" originalsrc="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" shash="hdp8h6wCS2BwDcihd/nlt3FfWeCJXt3ZFR/ppBBsO08wxD24RYAzDWvO/DujFpeP2D/GXstOalfN3R7J2EQRMIXIVFxGT1mnKyqwd6QxwUcOr+bybTYz5c0l5VmOtiY2rV1kYj+2WdVDwjkVmREbpbOAz+F1VC12uScgO1jn60E=" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdoi.org%2F10.1371%2Fjournal.pcbi.1002202&data=05%7C02%7Cfieldtrip%40science.ru.nl%7C4077444e967d498e10cd08dc85336fc0%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638531703160449650%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=hzKhB6RZohCA7RMubvF%2B%2F4LnX5LEFktH7wp3szRLmP0%3D&reserved=0" originalsrc="https://doi.org/10.1371/journal.pcbi.1002202" shash="JS9zJSHPl4du79qKrLX0MqGf9r3AGzRc6rGNU15UP4UHZ6aq2wZ35/DWd8E44NOxwk4YCcTKAtPn3opOLXhtrhj250M+RMH5HvuNFca5zBgxhxBby767Vc1wnA0zWvK3eG/q0jJlgFzF3qF8kvwit6YRAmZXy9HXAdXC+/tjvUU=" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://doi.org/10.1371/journal.pcbi.1002202</a></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>