Conference PaperPDF Available

The LIMO EEG Toolbox: extending the statistical analysis of EEG data to the spectral domain

Authors:
  • Rigshopitalet Copenhagen University Hospital

Abstract and Figures

Background / Purpose: LIMO EEG is a Matlab toolbox for running statistics on EEG data. Here, we look at extending this to examine frequency and time-frequency information with the EEG. Main conclusion: We find these tools can be extended to time-frequency information and demonstrate use of this interface to show statistical significance in time, electrode, and frequency spaces simultaneously.
Content may be subject to copyright.
1
The LIMO EEG toolbox:
extending the statistical analysis of EEG data to the spectral domain
Andrew Stewart1, Guillaume Rousselet2 & Cyril Pernet1
1 Brain Research Imaging Centre, University of Edinburgh, Edinburgh, UK
2 Centre for Cognitive Neuroimaging, Institute of Neuroscience and Psychology, University
of Glasgow, Glasgow, UK
Introduction
LIMO EEG is an open source Matlab toolbox, EEGLAB compatible, which provides a suite
of tools based around statistical LInear MOdelling and robust estimators of EEG data [1].
The main idea behind the toolbox is to analyse the entire information-space, in time or
frequency domain.
In the 1st version of the toolbox, ERP could be analysed at all electrodes and time points.
Here, we report the extension of these tools into the spectral domain: (i) for power spectra,
showing what frequencies are represented across trials, (ii) for Event-Related Spectral
Perturbations (ERSP), showing the power spectra in time and frequency spaces.
Stable version: https://gforge.dcn.ed.ac.uk/gf/project/limo_eeg/
Beta version: https://github.com/LIMO-EEG-Toolbox
Features of the toolbox
Four key features distinguish the LIMO EEG toolbox:
(1) Hierarchical modelling: within and between subjects’ analyses (Figure 1).
(2) Robust 2nd level statistical tests: between subjects’ analyses rely on trimmed means,
iterative reweighted least-squares and multivariate approach for repeated measures.
(3) Multiple Comparison Correction methods based on bootstrap estimates of the maximum
statistics (corrected T/F values, cluster-mass, threshold free cluster-enhancement [2]).
(4) Visualization tools for the whole data space and detailed course plots in 2D and 3D
(Figures 3, 4, 5).
2
Figure 1. Illustration of the hierarchical linear modelling approach used in LIMO EEG.
Illustration and data analysis
The LIMO EEG data set was analysed in the time and frequency domains. Briefly, 14
subjects ranging from 21 to 68 years of age performed a 2AFC task, choosing between 2
faces presented at different noise levels ([3], [4], Figure 2). Subjects performed over 1000
trials and 128 channels EEG data recorded. The statistical analysis consisted in modelling,
per subject, the EEG response with 1 categorical variable (face A or face B) and 1 continuous
variable (noise level). At the group level, a one-sample t-test and a regression analysis were
computed to test the effect of noise level across subjects.
3
Figure 2. Experiment used for the LIMO EEG data set. Subjects discriminated between 2 faces with various
levels of noise. The grand mean ERP show a strong modulation of the N170/P200. Analyses were carried out by
modelling, for each subject, the EEG response as a function of stimulus type and noise level across stimuli.
ERP Analyses
Each subject showed significant modulations of the N170/P200 components by the level of
stimulus noise, and at the group level, significant effects were observed very early (within
100 ms) and in the N170 time-window (Figure 3). A regression analysis showed that the
effect of stimulus noise was stronger with age later on (P200), i.e. it takes longer for older
subjects to process stimulus information [4].
4
Figure 3. Results showing the effect of noise on face ERP. The top panels show the effects in one subject and
the bottom panels show the effect of age on the modulatory effect of noise (regression). Maps show the F values
at p<0.05 corrected for multiple comparisons using TFCE.
Power spectrum Analyses
Significant modulations of the power spectrum were observed in most subjects, but no
significant effect emerged at the group level (Figure 4). This can be explained by the change
in ERP shape / stimulus noise relationship with age, which shows up as a significant
modulation of power at ~17 Hz by stimulus noise.
5
Figure 4. Results showing the effect of noise on face evoked Power. The top panels show the effects in one
subject and the bottom panels show the effect of age on the modulatory effect of noise (regression). Maps show
the F values at p<0.05 corrected for multiple comparisons using TFCE.
ERSP Analysis
The time-frequency decomposition showed again significant effects at the subject level
(Figure 5) but failed to show significant effect across subjects. Non-corrected results suggest
modulation effect in the alpha range, as expected from ERP and Power analyses.
6
Figure 5. New LIMO EEG interface for time-frequency analysis. Results show the effect of noise on ERSP to
faces in one subject. Maps show the F values at p<0.05, corrected for multiple comparisons using TFCE. The
topographic plot shows the F value distribution on the scalp at 14Hz. Under the map, the blue trace shows the
frequency distribution at electrode B8.
Discussion
LIMO EEG offers a unique combination of tools to analyze ERP, Power and ERSP through a
GUI, or batch mode, or command line. The data import is done automatically using the
EEGLAB format but the code is flexible enough to process data from any software. The only
‘major’ problem for now is that Matlab is memory hungry. While ERP and power analysis
can be performed on almost any new computer, processing the full time-frequency space
requires large memory (8Gb minimum), preferably in combination with solid state hard
drives (store and retrieve matrices from ~1Gb to ~4Gb). Similarly, bootstrapping can be slow
when the search space is large. Future work will incorporate the analyses of component form
ICA so that again, the full data space can be analysed.
References
[1] Pernet et al. (2011) LIMO EEG: a toolbox for hierarchical LInear Modeling of
EletroEncephaloGraphic data. Computational Intelligence and Neuroscience, Volume 2011,
Article ID 831409.
[2] Pernet, et al. (2014) Cluster-based computational methods for mass univariate analyses of
event-related brain potentials/fields: a simulation study. Journal of Neuroscience Method,
submitted
[3] Rousselet et al. (2008). Parametric study of EEG sensitivity to phase noise during face
processing. BMC Neurosience, 9, 98-120.
[4] Rousselet et al. (2009). Age-related delay in information accrual for faces: Evidence from
a parametric, single-trial EEG approach BMC Neuroscience, 10: 114
... It may be that averaged ERP analyses masked potential cleaning inefficiencies in some of our tested pipelines, and we think it is likely that including all epochs in the analysis would provide better information about cleaning efficacy. Future research using single trial analyses (for example, using LIMO or the decision decoding toolbox) may provide a stronger ability to differentiate the cleaning pipelines in their ability to produce data that maximally discerns relationships between brain activity and perception/behaviour (Bode et al., 2019;Pernet et al., 2011;Stewart et al., 2014). ...
Article
Full-text available
Objective: Electroencephalography (EEG) is often used to examine neural activity time-locked to stimuli presentation, referred to as Event-Related Potentials (ERP). However, EEG is influenced by non-neural artifacts, which can confound ERP comparisons. Artifact cleaning reduces artifacts, but often requires time-consuming manual decisions. Most automated methods filter frequencies <1 Hz out of the data, so are not recommended for ERPs (which contain frequencies <1 Hz). Our aim was to test the RELAX (Reduction of Electroencephalographic Artifacts) pre-processing pipeline for use on ERP data. Methods: The cleaning performance of multiple versions of RELAX were compared to four commonly used EEG cleaning pipelines across both artifact cleaning metrics and the amount of variance in ERPs explained by different conditions in a Go-Nogo task. Results RELAX with Multi-channel Wiener Filtering (MWF) and wavelet-enhanced independent component analysis applied to artifacts identified with ICLabel (wICA_ICLabel) cleaned data most effectively and produced amongst the most dependable ERP estimates. RELAX with wICA_ICLabel only or MWF_only may detect effects better for some ERPs. Conclusions: RELAX shows high artifact cleaning performance even when data is high-pass filtered at 0.25 Hz (applicable to ERP analyses). Significance: RELAX is easy to implement via EEGLAB in MATLAB and freely available on GitHub. Given its performance and objectivity we recommend RELAX to improve artifact cleaning and consistency across ERP research.
... It may be that averaged ERP analyses masked potential cleaning inefficiencies in some of our tested pipelines, and we think it is likely that including all epochs in the analysis would provide better information about cleaning efficacy. Future research using single trial analyses (for example, using LIMO or the decision decoding toolbox) may provide a stronger ability to differentiate the cleaning pipelines in their ability to produce data that maximally discerns relationships between brain activity and perception/behaviour (Bode et al., 2019;Pernet et al., 2011;Stewart et al., 2014). ...
Preprint
Full-text available
Electroencephalography (EEG) is commonly used to examine neural activity time-locked to the presentation of a stimulus, referred to as an Event-Related Potential (ERP). However, EEG is also influenced by non-neural artifacts, which can confound ERP comparisons. Artifact cleaning can reduce artifacts, but often requires time-consuming manual decisions. Most automated cleaning methods require frequencies <1Hz to be filtered out of the data, so are not recommended for ERPs (which often contain <1Hz frequencies). In our companion article, we introduced RELAX (the Reduction of Electroencephalographic Artifacts), an automated and modular cleaning pipeline that reduces artifacts with Multiple Wiener Filtering (MWF) and/or wavelet enhanced independent component analysis (wICA) applied to artifact components detected with ICLabel (wICA_ICLabel) (Bailey et al., 2022). To evaluate the suitability of RELAX for data cleaning prior to ERP analysis, multiple versions of RELAX were compared to four commonly used EEG cleaning pipelines. Cleaning performance was compared across a range of artifact cleaning metrics and in the amount of variance in ERPs explained by different conditions in a Go-Nogo task. RELAX with MWF and wICA_ICLabel cleaned the data the most effectively and produced amongst the most dependable ERP estimates. RELAX with wICA_ICLabel only or MWF_only may detect experimental effects better for some ERP measures. Importantly, RELAX can high-pass filter data at 0.25Hz, so is applicable to analyses involving ERPs. The pipeline is easy to implement via EEGLAB in MATLAB and is freely available on GitHub. Given its performance, objectivity, and ease of use, we recommend RELAX for EEG data cleaning.
Article
Full-text available
Magnetic- and electric-evoked brain responses have traditionally been analyzed by comparing the peaks or mean amplitudes of signals from selected channels and averaged across trials. More recently, tools have been developed to investigate single trial response variability (e.g., EEGLAB) and to test differences between averaged evoked responses over the entire scalp and time dimensions (e.g., SPM, Fieldtrip). LIMO EEG is a Matlab toolbox (EEGLAB compatible) to analyse evoked responses over all space and time dimensions, while accounting for single trial variability using a simple hierarchical linear modelling of the data. In addition, LIMO EEG provides robust parametric tests, therefore providing a new and complementary tool in the analysis of neural evoked responses.
Article
Full-text available
In this study, we quantified age-related changes in the time-course of face processing by means of an innovative single-trial ERP approach. Unlike analyses used in previous studies, our approach does not rely on peak measurements and can provide a more sensitive measure of processing delays. Young and old adults (mean ages 22 and 70 years) performed a non-speeded discrimination task between two faces. The phase spectrum of these faces was manipulated parametrically to create pictures that ranged between pure noise (0% phase information) and the undistorted signal (100% phase information), with five intermediate steps. Behavioural 75% correct thresholds were on average lower, and maximum accuracy was higher, in younger than older observers. ERPs from each subject were entered into a single-trial general linear regression model to identify variations in neural activity statistically associated with changes in image structure. The earliest age-related ERP differences occurred in the time window of the N170. Older observers had a significantly stronger N170 in response to noise, but this age difference decreased with increasing phase information. Overall, manipulating image phase information had a greater effect on ERPs from younger observers, which was quantified using a hierarchical modelling approach. Importantly, visual activity was modulated by the same stimulus parameters in younger and older subjects. The fit of the model, indexed by R2, was computed at multiple post-stimulus time points. The time-course of the R2 function showed a significantly slower processing in older observers starting around 120 ms after stimulus onset. This age-related delay increased over time to reach a maximum around 190 ms, at which latency younger observers had around 50 ms time lead over older observers. Using a component-free ERP analysis that provides a precise timing of the visual system sensitivity to image structure, the current study demonstrates that older observers accumulate face information more slowly than younger subjects. Additionally, the N170 appears to be less face-sensitive in older observers.
Article
Full-text available
The present paper examines the visual processing speed of complex objects, here faces, by mapping the relationship between object physical properties and single-trial brain responses. Measuring visual processing speed is challenging because uncontrolled physical differences that co-vary with object categories might affect brain measurements, thus biasing our speed estimates. Recently, we demonstrated that early event-related potential (ERP) differences between faces and objects are preserved even when images differ only in phase information, and amplitude spectra are equated across image categories. Here, we use a parametric design to study how early ERP to faces are shaped by phase information. Subjects performed a two-alternative force choice discrimination between two faces (Experiment 1) or textures (two control experiments). All stimuli had the same amplitude spectrum and were presented at 11 phase noise levels, varying from 0% to 100% in 10% increments, using a linear phase interpolation technique. Single-trial ERP data from each subject were analysed using a multiple linear regression model. Our results show that sensitivity to phase noise in faces emerges progressively in a short time window between the P1 and the N170 ERP visual components. The sensitivity to phase noise starts at about 120-130 ms after stimulus onset and continues for another 25-40 ms. This result was robust both within and across subjects. A control experiment using pink noise textures, which had the same second-order statistics as the faces used in Experiment 1, demonstrated that the sensitivity to phase noise observed for faces cannot be explained by the presence of global image structure alone. A second control experiment used wavelet textures that were matched to the face stimuli in terms of second- and higher-order image statistics. Results from this experiment suggest that higher-order statistics of faces are necessary but not sufficient to obtain the sensitivity to phase noise function observed in response to faces. Our results constitute the first quantitative assessment of the time course of phase information processing by the human visual brain. We interpret our results in a framework that focuses on image statistics and single-trial analyses.
Article
Background: In recent years, analyses of event related potentials/fields have moved from the selection of a few components and peaks to a mass-univariate approach in which the whole data space is analyzed. Such extensive testing increases the number of false positives and correction for multiple comparisons is needed. Method: Here we review all cluster-based correction for multiple comparison methods (cluster-height, cluster-size, cluster-mass, and threshold free cluster enhancement - TFCE), in conjunction with two computational approaches (permutation and bootstrap). Results: Data driven Monte-Carlo simulations comparing two conditions within subjects (two sample Student's t-test) showed that, on average, all cluster-based methods using permutation or bootstrap alike control well the family-wise error rate (FWER), with a few caveats. Conclusions: (i) A minimum of 800 iterations are necessary to obtain stable results; (ii) below 50 trials, bootstrap methods are too conservative; (iii) for low critical family-wise error rates (e.g. p=1%), permutations can be too liberal; (iv) TFCE controls best the type 1 error rate with an attenuated extent parameter (i.e. power<1).