Categories
Nevin Manimala Statistics

lmeEEG: Mass linear mixed-effects modeling of EEG data with crossed random effects

J Neurosci Methods. 2023 Oct 24:109991. doi: 10.1016/j.jneumeth.2023.109991. Online ahead of print.

ABSTRACT

BACKGROUND: Mixed-effects models are the current standard for the analysis of behavioral studies in psycholinguistics and related fields, given their ability to simultaneously model crossed random effects for subjects and items. However, they are hardly applied in neuroimaging and psychophysiology, where the use of mass univariate analyses in combination with permutation testing would be too computationally demanding to be practicable with mixed models.

NEW METHOD: Here, we propose and validate an analytical strategy that enables the use of linear mixed models (LMM) with crossed random intercepts in mass univariate analyses of EEG data (lmeEEG). It avoids the unfeasible computational costs that would arise from massive permutation testing with LMM using a simple solution: removing random-effects contributions from EEG data and performing mass univariate linear analysis and permutations on the obtained marginal EEG.

RESULTS: lmeEEG showed excellent performance properties in terms of power and false positive rate.

COMPARISON WITH EXISTING METHODS: lmeEEG overcomes the computational costs of standard available approaches (our method was indeed more than 300 times faster).

CONCLUSIONS: lmeEEG allows researchers to use mixed models with EEG mass univariate analyses. Thanks to the possibility offered by the method described here, we anticipate that LMM will become increasingly important in neuroscience. Data and codes are available at osf.io/kw87a. The codes and a tutorial are also available at github.com/antovis86/lmeEEG.

PMID:37884082 | DOI:10.1016/j.jneumeth.2023.109991

By Nevin Manimala

Portfolio Website for Nevin Manimala