<div dir="ltr">Dear All,<div><br></div><div>Greetings for the new year. </div><div>I have a question regarding statcond() function.</div><div>I am looking for a brief description of how the surrogate samples are drawn, specifically for paired bootstrap option for testing whether X=Y.</div><div>There are several possible ways of bootstrapping, e.g.,  1) both samples (X, Y) can pooled together before resampling, 2) the differences (X-Y) can be resampled, </div><div>or 3) Or the differences between X and Y after subtracting them from their averages can be resampled.</div><div>Perhaps its possible to figure it out by going over the code - but it would save my time if someone from EEGLAB team can answer. </div><div>Any reference to the literature would be also be helpful.</div><div><br></div><div>Thanks in advance.</div><div><br></div><div>Archana  <br></div><div><div><br></div><div><br><div><br></div><div><br></div></div></div></div>