I have a question about using permutation tests to compare decoding accuracy across time between two conditions. Specifically, I am interested to see whether these conditions not only differ during stimulus presentation, but also already in anticipation of a new (search) display. I have a within subject design so I am running the following code
If I then inspect the results, I get significant clusters during stimulus presentation (which is nice. However, there are no significant anticipatory clusters, even though numerically the conditions clearly differ.
Interestingly, I am able to make these anticipatory clusters significant if instead of analysing the whole time course, I limit the permutation test to the anticipatory window. I assume that this is the case because the anticipatory cluster is smaller than the reactive cluster???
My question is whether this is a valid approach, and if not whether there is another alternative way to still show that the conditions already differ before stimulus processing.
If I then inspect the results, I get significant clusters during stimulus
presentation (which is nice. However, there are no significant
anticipatory clusters, even though numerically the conditions clearly
differ.
Interestingly, I am able to make these anticipatory clusters significant
if instead of analysing the whole time course, I limit the permutation test
to the anticipatory window. I assume that this is the case because the
anticipatory cluster is smaller than the reactive cluster???
The `step_down_p` is meant to deal with this case. Basically it runs the
clustering, and if it finds any clusters below the step_down_p threshold
(usually 0.05 is a good choice), it cuts those data points out of the
analysis and redoes the permutation test. This prevents the first cluster
from dominating the H0 values, increasing sensitivity to smaller but still
valid effects.
My question is whether this is a valid approach, and if not whether there
is another alternative way to still show that the conditions already differ
before stimulus processing.