<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 Jaewon,
<div class=""><br class="">
</div>
<div class="">I suggest that you check the e-mail archive (using Google or so). Your question pops up occasionally, and has been answered before, e.g. at <a href="https://mailman.science.ru.nl/pipermail/fieldtrip/2019-May/039144.html" class="">https://mailman.science.ru.nl/pipermail/fieldtrip/2019-May/039144.html</a></div>
<div class=""><br class="">
</div>
<div class="">As to why (and in which way) the outputs are different, I don’t know. Your screenshots did not come through in your message, probably because they were too big in size. Are you sure that you used the exact same cfg in the call to ft_timelockstatistics?
 If so, could it be that in one of the analyses the a priori cluster thresholding scheme did not yield any clusters in the observed data?</div>
<div class=""><br class="">
</div>
<div class="">Good luck and best wishes,</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
</div>
<div class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 17 Aug 2022, at 18:39, 오재원 via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" class="">fieldtrip@science.ru.nl</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<p style="border:0; padding:0; margin:0; font-family:'굴림'; font-size:10pt; cursor: text;" class="">
</p>
<div style="border: 0px; padding: 0px; margin: 0px; font-family: 굴림; font-size: 10pt; cursor: text;" class="">
<br class="">
</div>
<div style="border: 0px; padding: 0px; margin: 0px; font-family: 굴림; font-size: 10pt; cursor: text;" class="">
<br class="">
</div>
<div style="border: 0px; padding: 0px; margin: 0px; font-size: 10pt; cursor: text;" class="">
Hello, my name is Jaewon.</div>
<div style="border: 0px; padding: 0px; margin: 0px; font-size: 10pt; cursor: text;" class="">
Currently I am trying cluster-based permutation tests with EEG/ERP data.</div>
<div style="border: 0px; padding: 0px; margin: 0px; font-size: 10pt; cursor: text;" class="">
I have finished writing the code script for the permutation tests (until ft_timelockstatistics) and my matlab script did not give an error.</div>
<div style="border: 0px; padding: 0px; margin: 0px; font-size: 10pt; cursor: text;" class="">
However, I could not find where I can see significant time point and electrode clusters.</div>
<div style="border: 0px; padding: 0px; margin: 0px; font-size: 10pt; cursor: text;" class="">
<br class="">
</div>
<div style="border: 0px; padding: 0px; margin: 0px; font-size: 10pt; cursor: text;" class="">
I conducted two permutation tests : one for 0-600ms post stimuli onsets (to see N400 effect) and the other for 600-1000ms (to see P600 effect).</div>
<div style="border: 0px; padding: 0px; margin: 0px; font-size: 10pt; cursor: text;" class="">
I made 'stat' variable as a result of using 'ft_timelockstatistics' function.</div>
<div style="border: 0px; padding: 0px; margin: 0px; font-size: 10pt; cursor: text;" class="">
Attached files are Matlab screens of fields resulted from permutation tests.</div>
<div style="border: 0px; padding: 0px; margin: 0px; font-size: 10pt; cursor: text;" class="">
<br class="">
</div>
<div style="border: 0px; padding: 0px; margin: 0px; font-size: 10pt; cursor: text;" class="">
In the case of 0-600ms post stimulus onset, 'posclusters' seemed to show some statistical stuffs like probability, standard deviation, CI range, etc. Nonetheless, what I was looking for was significant time domain and electrodes as well as corresponding p-values.
 But I could not find those here. In the case of 600-1000ms post stimulus onset, the 'stat' variable did not create some fields such as 'prob', 'posclusters', 'posclusterslabelmat', and so on. Matlab scripts for the two analyses are identical except for cfg.latency.
 (For 600-1000ms analysis, '<span style="font-size: 10pt;" class="">cfg.latency = </span><span style="font-size: 10pt;" class="">[0.6 1.2]' was used instead of </span><span style="font-size: 10pt;" class="">'</span><span style="font-size: 10pt;" class="">cfg.latency
 = </span><span style="font-size: 10pt;" class="">[0 0.6]'</span><span style="font-size: 10pt;" class="">) So I also did not understand why the results are different while the scripts are the same. </span></div>
<div style="border: 0px; padding: 0px; margin: 0px; font-size: 10pt; cursor: text;" class="">
<br class="">
</div>
<div style="border: 0px; padding: 0px; margin: 0px; font-size: 10pt; cursor: text;" class="">
To summarize, I am wondering how and where I can find significant time point and electrode clusters and corresponding p-vlalues after permutation test in fieldtrip.</div>
<div style="border: 0px; padding: 0px; margin: 0px; font-size: 10pt; cursor: text;" class="">
Additionally, I would like to know why the results of 0-600ms analysis and of 600-1000ms analysis differ in spite of the same scripts.</div>
<div style="border: 0px; padding: 0px; margin: 0px; font-size: 10pt; cursor: text;" class="">
Thank you for reading my email and any advice or help would be greatly appreciated.</div>
<div style="border: 0px; padding: 0px; margin: 0px; font-size: 10pt; cursor: text;" class="">
<br class="">
</div>
<div style="border: 0px; padding: 0px; margin: 0px; font-size: 10pt; cursor: text;" class="">
<br class="">
</div>
<div style="border: 0px; padding: 0px; margin: 0px; font-size: 10pt; cursor: text;" class="">
All the best,</div>
<div style="border: 0px; padding: 0px; margin: 0px; font-size: 10pt; cursor: text;" class="">
Jaewon.</div>
<div style="border: 0px; padding: 0px; margin: 0px; font-size: 10pt; cursor: text;" class="">
<br style="color: rgb(51, 51, 51); background-color: rgb(255, 255, 255);" class="">
</div>
<div class=""><br class="webkit-block-placeholder">
</div>
<img src="https://mail.snu.ac.kr/checkread/MTU4OTkzNjE4Nw==/ZmllbGR0cmlwQHNjaWVuY2UucnUubmw=/" width="1px" height="1px" class="">_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!7p-fdvijHDHhuRq4ltbSaXbxkreb_BIPJGKYW4E9KypmCB3K82d7-iCI-ZU_-6dQzT5ZPtutz1lZVdlGztaTR3_fJ9Qb_yGaCXr2cg$  <br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>