Pupil Time Series Data with Cluster Based Permutation Tests?

Hello everybody,

I wonder if I can use for pupil data in the shape of (n participants x time points) the mne.stats.permutation_cluster_1samp_test?
N participants x time points is the difference between 2 conditions. One real condition minus a placebo condition. I thought I could use the mne.stats.permutation_cluster_1samp_test function to test against zero.
Do you think that is possible?

Best regards,
Katharina

Hi @KathaMei , on the face of it I personally see no reason why you shouldn’t be able to use pupil signal (versus EEG, MEG, etc), it’s more about if this test is appropriate for your research question (which may be outside the scope of this support forum).

There are some nice tutorials on the MNE-Python website that go into detail on the various permutation functions, and there is a detailed notes section in the docstring of mne.stats.permutation_cluster_1samp, in case you might find it helpful for your scenario.

I’ve done this before in published research, it definitely does work. Code here: 2018-pupil-lisdiff/pupil-stats.py at master · LABSN-pubs/2018-pupil-lisdiff · GitHub paper here: https://psyarxiv.com/2ubyj/ (link to paywalled version available from the preprint site)

1 Like