Flexible Multi-Step Hypothesis Testing of Human ECoG Data using Cluster-based Permutation Tests with GLMEs
Seth D. KönigiD, Sandra E. SafoiD, Kai Joshua MilleriD, Alexander B. HermaniD, David DarrowiD
Abstract
BackgroundTime series analysis is critical for understanding brain signals and their relationship to behavior and cognition. Cluster-based permutation tests (CBPT) are commonly used to analyze a variety of electrophysiological signals including EEG, MEG, ECoG, and sEEG data without a priori assumptions about specific temporal effects. However, two major limitations of CBPT include the inability to directly analyze experiments with multiple fixed effects and the inability to account for random effects (e.g. variability across subjects). Here, we propose a flexible multi-step hypothesis testing strategy using CBPT with Linear Mixed Effects Models (LMEs) and Generalized Linear Mixed Effects Models (GLMEs) that can be applied to a wide range of experimental designs and data types. MethodsWe first evaluate the statistical robustness of LMEs and GLMEs using simulated data distributions. Second, we apply a multi-step hypothesis testing strategy to analyze ERPs and broadband power signals extracted from human ECoG recordings collected during a simple image viewing experiment with image category and novelty as fixed effects. Third, we assess the statistical power differences between analyzing signals with CBPT using LMEs compared to CBPT using separate t-tests run on each fixed effect through simulations that emulate broadband power signals. Finally, we apply CBPT using GLMEs to high-gamma burst data to demonstrate the extension of the proposed method to the analysis of nonlinear data. ResultsFirst, we found that LMEs and GLMEs are robust statistical models. In simple simulations LMEs produced highly congruent results with other appropriately applied linear statistical models, but LMEs outperformed many linear statistical models in the analysis of "suboptimal" data and maintained power better than analyzing individual fixed effects with separate t-tests. GLMEs also performed similarly to other nonlinear statistical models. Second, in real world human ECoG data, LMEs performed at least as well as separate t-tests when applied to predefined time windows or when used in conjunction with CBPT. Additionally, fixed effects time courses extracted with CBPT using LMEs from group-level models of pseudo-populations replicated latency effects found in individual category-selective channels. Third, analysis of simulated broadband power signals demonstrated that CBPT using LMEs was superior to CBPT using separate t-tests in identifying time windows with significant fixed effects especially for small effect sizes. Lastly, the analysis of high-gamma burst data using CBPT with GLMEs produced results consistent with CBPT using LMEs applied to broadband power data. ConclusionsWe propose a general approach for statistical analysis of electrophysiological data using CBPT in conjunction with LMEs and GLMEs. We demonstrate that this method is robust for experiments with multiple fixed effects and applicable to the analysis of linear and nonlinear data. Our methodology maximizes the statistical power available in a dataset across multiple experimental variables while accounting for hierarchical random effects and controlling FWER across fixed effects. This approach substantially improves power and accuracy leading to better reproducibility. Additionally, CBPT using LMEs and GLMEs can be used to analyze individual channels or pseudo-population data for the comparison of functional or anatomical groups of data. Highlights[bullet] Combining CBPT with GLMEs allows statistical analysis to match experimental design. [bullet]CBPT with GLMEs accounts for subject variability and hierarchical random effects. [bullet]The proposed method maintains control of type I error, type II error, and FWER. [bullet]CBPT with GLMEs can be applied to individual channels and pseudo-population data.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- FWCI
- 0.00
- Field percentile
- 2th percentile
- Organism
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- lmeEEG: Mass linear mixed-effects modeling of EEG data with crossed random effects
Antonino Visalli, Maria Montefinese, … Ettore Ambrosini·Journal of Neuroscience MethodsPeer-reviewed·Oct 24, 2023
- Comparing Methods for Mass Univariate Analyses of Human EEG: Empirical Data and Simulations
Anna‐Lena Tebbe, Christian Panitz, Andreas Keil·Journal of Neuroscience MethodsPeer-reviewed·Nov 21, 2025
- Cortical surface electrical potentials are composed of multiple bandlimited frequency components, including high-gamma
Jesse A. Livezey, Ahyeon Hwang, … Kristofer E. Bouchard·bioRxiv·Jul 22, 2022
- STAMP-LME: A spatiotemporal surface-mapping framework for population-level iEEG
Alejandro Omar Blenkmann, Sabine Liliana Leske, … Robert Oostenveld·bioRxiv·Oct 1, 2026
- Comparison of tuning properties of gamma and high-gamma power in local field potential (LFP) versus electrocorticogram (ECoG) in visual cortex
Agrita Dubey, Supratim Ray·Scientific ReportsPeer-reviewed·Mar 25, 2020
- The GLM-Spectrum: A multilevel framework for spectrum analysis with covariate and confound modelling
Andrew J. Quinn, Lauren Z. Atkinson, … Mark W. Woolrich·Imaging NeurosciencePeer-reviewed·Jan 1, 2024