[Eeglablist] STUDY structure in EEGLABv2021
Delorme, Arnaud
adelorme at ucsd.edu
Mon Jul 26 13:42:07 PDT 2021
For selecting subset of trials, you can create a specific design.
For example, if you want to select only correct trials, you would add the independent variable “correct” (assuming you have this variable) and then select the value “yes.”
Then this design would only contain correct trials. For this design, you can still select additional independent variables (up to 2 categorical ones for standard EEGLAB stats, and an arbitrary number of continuous and categorical variables for LIMO statistics).
Arno
> On Jul 26, 2021, at 10:26 AM, Agatha Lenartowicz <agathalenartowicz at gmail.com> wrote:
>
> Thanks for the quick response. I understand 1 and 3 and will poke around to learn the new structure. However regarding item 2 - I am asking about selecting trials not subjects. What is the protocol for selecting subsets of events (i.e., I might want only the correct trials or some subset based on a custom field in the event field).
>
>>> 2) How do specify subsets of events to include in the design?
>
> Agatha
>
>
>> On Jul 26, 2021, at 12:45 PM, Delorme, Arnaud via eeglablist <eeglablist at sccn.ucsd.edu> wrote:
>>
>> Hi Agatha,
>>
>>> 1) How do we specify a path for design files?
>>
>> This path was removed after EEGLAB 14 (so in EEGLAB 2019.0). It was most useful when comparing parameters for ERSP or spectrum, for example.
>>
>> There is no longer a path for STUDY designs when using single trials (in EEGLAB 2020 and later versions). They all share the same files, and files are precomputed only once. The precomputed trial measures are pulled on the fly for plotting and statistics. This allows for more complex statistics (e.g., LIMO integration). Files are larger, but there is no noticeable slow down when working with a solid-state drive.
>>
>> We could have kept the option to have different sets of precomputed files but:
>> - We would have had to create an entirely new mechanism to do so and allow people to switch between sets of precomputed values. Only a handful of people used that feature, and it added a lot of complexity to the code (so time involvement plus potential bugs)
>> - As you could note with EEGLAB 14, the ability to define a custom folder added some instability. For example, when you copied the STUDY, then the manually set path was absolute and pointed to the old study. There was no real way of fixing that issue. There were also other minor issues which you reported.
>> - An alternative exists. The best alternative is to make a copy of your STUDY and recompute measures.
>>
>> So to make a long story short, we removed that option to avoid having to reimplement it, to increase stability, and also because an alternative exists.
>>
>>> 2) How do specify subsets of events to include in the design?
>>
>> To specify specific subjects, you can set the default at the top of the STUDY design GUI. This will apply to all designs, though. In general, it is not good practice to handpick subjects for specific designs. If you want only to process one group of subjects, you can do so by selecting the group independent variable and the value you are interested in. In that case, only subjects of that group will be included.
>>
>>> 3) Is there a change to the design files that would preclude them from being recognize in the pop_chanplot() viewer?
>>
>> Yes, cannot use EEGLAB 14 pre-computed files. These contained averaged measures, and EEGLAB 2019 and later use single trials. You need to recompute these files.
>>
>> Best wishes,
>>
>> Arno
>> _______________________________________________
>> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
>> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu
>> For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu
>
More information about the eeglablist
mailing list