Hello its me again!
I have a rather general question regarding how to apply the spatio_temporal_cluster_test correctly and how to interprete the results of it. I am just starting in the EEG field so it might be a rather simple question for the experts here.
Here is my code:
# Concatenate the data across conditions
X = [condition_a_2D, condition_b_2D] # List of arrays, shape: (n_epochs, n_times, n_channels)
n_permutations = 1000 # Number of permutations for the permutation test
tail = 0 # Two-sided test
seed = 42
# Perform spatio-temporal clustering
F_obs, clusters, p_values, _ = spatio_temporal_cluster_test(X, n_permutations=n_permutations, tail=tail, seed=seed, adjacency=adjacency)
I have EEG data inserted for X with the dimensions 41 trials, 4401 timepoints and 64 channels. It used to be a time frequency structure with the dimensions 41, 4401, 5, 64. 5 have been the frequency bins but I averaged over them.
Now I am not sure how to correctly use the mne function. I think I also need to specify a t-test as statistics with a threshold? What condition must be put on position one and two of X? I have a control and intervention condition.
Then how to interprete the outcomes of the function?
And when I have results for one subject with the two conditions how can I analyse the two conditions over all my participants in the experiment?
Best regards,
Till