[Eeglablist] Permutation test for ERSP?

Arnaud Delorme arno at ucsd.edu
Wed Jan 30 15:33:59 PST 2008


> Thank you, it seems to work nicely. One question though: in condstat.m 
> the significance thresholds are set to the mean of i (naccu*alpha) 
> lowest or highest values i.e.,
>
> accarraytmp(:,:,2) = mean(accarray(:,:,1:i),3);
> accarraytmp(:,:,1) = mean(accarray(:,:,naccu-i+1:naccu),3);
>
> why use mean and not simply the i:th lowest/highest value?
>   

Yes, this is a reasonable proposition but it would have to be i/2 not i 
and it might not be an integer value. The best would be to perform the 
exact interpolation at i/2 (and naccu-i/2). I have added an improvement 
report concerning this issue in our bugzilla database.

Best regards,

Arno



More information about the eeglablist mailing list