3.2: Exercise- Organizing and Loading the Data from 10 Participants

Applied Event-Related Potential Data Analysis 2e · LibreTexts

0%

Contents

    Text

    Size
    100%
    Theme
    Typeface
    Line length
    Spacing

    Read aloud

    How

    Speed: 1×
    Light up
    Highlight

    Symbols: Mulberry Symbols, © 2018–2026 Steve Lee, CC BY-SA 4.0 (licence, the set), the site's own copies.

    From LibreTexts, under CC BY-NC 4.0, as the source states it; its equations are written in TeX, which the PDF shows typeset. This page at LibreTexts.

    3.2: Exercise- Organizing and Loading the Data from 10 Participants

    In this chapter, we’ll be looking at the data from 10 of the 40 participants in the ERP CORE N400 experiment (Subjects 1, 6, 7, 12, 15, 16, 21, 22, 34, 38). Take a look at how the files are organized in the Chapter_3 folder. You'll see that there is a separate folder for each of the 10 participants, each containing an EEGset with the original EEG data for that participant, an EEGset with all of the preprocessing steps completed, and an ERPset with the averaged ERPs. This may seem like a cumbersome way to organize the data, because it requires moving from folder to folder as you process the data from the different participants. However, you will typically end up with 10-20 files per participant by the time you're done analyzing a given experiment, and it would be a bad idea to have all of these files in a single folder. I strongly recommend organizing your data as I have organized the data for this chapter (and the subsequent chapters).

    I created the ERPsets for each participant by going through the same sequence of operations used for Subject 6 in the previous chapter. To save time, I implemented these operations in a script rather than by using the eStudio GUI. In case you'd like to look at this script (or even run it yourself), it's in the Chapter_3 folder and is named preprocess_and_average.m. It would be a useful exercise for you to do all of the preprocessing steps and the averaging step for several of these participants using the eStudio GUI. This would take a bit of time, but you’d learn the preprocessing steps really well by repeating them for each participant. If you don't want to spend the time, you can just use the EEGset and ERPsets I created using the script.

    Before you go any further, it's a good idea to restore all the eStudio parameters to their default values. To do this, click the Reset button under the lower right corner of the plot region. After a pause, you will see a small window that allows you to reset the parameters. Click the button labeled Reset ERPLAB Studio to clear out all loaded files and reset all settings to their default values. You should also set Chapter_3 to be the current folder (using either the Matlab GUI or the Current Folder button in the EEGsets or ERPsets panel).

    Now let's load the ERPsets from the 10 participants. One way to accomplish this is to go to the ERP tab, then go to the ERPsets panel, click Load, navigate to the folder named 1, and open 1_N400.erp. You could then repeat this for each of the other 9 participants (6, 7, 12, 15, 16, 21, 22, 34, and 38). This can be a little tedious (especially in an experiment with 40 participants), so I wrote a little script named load_erpsets.m that loads all the ERPsets for you. If you don't want to load the ERPsets manually, you can run this script (by opening it and clicking the Run button in the Matlab editor window) and then click the Refresh button in the ERPsets panel (to let eStudio know that they have been loaded).

    The ERPsets panel should now look like Screenshot 3.1.

    ERPsets panel

    Screenshot 3.1

    This page titled 3.2: Exercise- Organizing and Loading the Data from 10 Participants was last modified on Thu, 01 Oct 2026 18:52:35 GMT and is shared under a CC BY-NC 4.0 license and was authored, remixed, and/or curated by Steven J Luck directly on the LibreTexts platform.