Cluster Permutation Analysis with mne.stats.spatio_temporal_cluster_test

  • Assuming that this is a within-subjects design, each participant has contributed conditions A and B.
  • You are supplying their difference to a test against zero: diff = A-B
  • The permutation is about changing the labels (A to B and B to A, or leaving them as they are; randomly) within participants
  • This is the same as changing the sign of diff for each participant