<div dir="ltr">Hi Amine,<div><br></div><div>I think you should be aware of 2 things:</div><div>1. "Trial number" of baseline matches with the trial number of the other condition that you compare.</div><div>2. The selected baseline-period is in the original baseline-distribution's CI</div><div><br></div><div>What I suggest is to cut randomly as many segments from the baseline as the number of trials in the other condition, and as long segments as the length of the trials. Next, check if the cutted baseline-segments are within the original baseline's CI (for example by bootstrap resampling). After that you can perform permutation statistics between baseline and the othe condition, or normalize the condition and do permutation test against zero.</div><div><br></div><div>Hope I helped,</div><div><br></div><div>Andras</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Amine JALAL <<a href="mailto:amine.jalal11@gmail.com">amine.jalal11@gmail.com</a>> ezt írta (időpont: 2020. febr. 6., Cs, 12:27):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear Fieldtrippers,</div><div><br></div><div>I'm working on EEG data and I'm trying to perform a time-frequency analysis. Since my data is continuous, I segmented it according to triggers that define the trials (with variable length), so my data is composed by the trials and two long segments at the beginning of the experiment (resting state) and at the end.</div><div>My aim is to perform a baseline correction to the trials in TFR by taking the baseline from the "resting state" segment.</div><div>I have been looking for the solution in the tutorials and mailing list, but I didn't get to move forward.</div><div><br></div><div>I would be very grateful by any help or advice.</div><div>Thank you in advance.</div><div><br></div><div>Best,</div><div>Amine<br></div><div><div><div><br>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><b> Amine JALAL</b></div><div>MD - Medical imaging & Instrumentation</div><div>Tél : +33 (0) 6 31 75 23 87<br></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
fieldtrip mailing list<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>
<a href="https://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">András Puszta MD, PhD<div>Helgeland Hospital / Univerity of Oslo</div><div>Department of Neuropsychology</div><div>Skjervengan 17 8657 Mosjøen, Norway<br></div></div></div></div></div></div></div>