LIMO-EEG-Toolbox / limo_tools

Hierarchical Linear Modelling for MEEG data
https://limo-eeg-toolbox.github.io/limo_meeg/
Other
59 stars 27 forks source link

Conflict between EEGLAB and LIMO on session in design matrix #171

Open arnodelorme opened 1 year ago

arnodelorme commented 1 year ago

When EEGLAB declare that it wants to compare sessions in the STUDY.design, instead of being ignored, it is included in the LIMO design.

CPernet commented 1 year ago

It is not ignored - if you have two sessions or more, it creates sessions, runs the glm for each one, and computes between sessions contrasts - the reason to do this is because the variance between sessions is not the same as if LIMO was doing one design. ++- not a bug, a feature.

arnodelorme commented 1 year ago

No, it creates a categorical variable for the session (it also creates different files as it should).

CPernet commented 1 year ago

Do you mean, you have a session variable? Yes it does not deal with that -- and I do not want that (session variance needs to be accounted for)

arnodelorme commented 1 year ago

Let's change the code to remove the session variable from the STUDY design (temporarily) before computing LIMO files.