[Eeglablist] Including interaction with condition with two datasets per participant

Dr Cyril, Pernet wamcyril at gmail.com
Mon Mar 17 09:02:25 PDT 2025


Hi Agata

it has not even reached any modelling or comparison, purely an issue in 
STUDY. Just to clarify, you can only have 1 dataset per session, each 
subject has 2 datasets  and you indicate those as session 1 and session 
2. Is that correct?

cyril
> Dear Cyril,
>
> Thank you for you suggestion. I created a new STUDY as outlines, but I am still having trouble with the analysis which includes two datasets/sessions per participant.
> After creating .daterp files, in the 1st level analysis, the programme produces errors: "couldn't find a direct match between .set and .daterp". It appears that the comparison of the two is not made based on participant name but on the order in which they are loaded, and even though they are loaded in chronological order, the comparisons are made between dataset 1-2, 1-3, 1-4, then 2-3, 2-4, etc. I'm not sure why that happens, because I even ensured that the subject names and dataset names are the same so there is no doubt which data comes from which subject. The error produced is pasted below:
>
>
> generating temporary files, pulling relevant trials ...
> pulling trials for sub-Hs481a-word_selection_receiver_renamed_ses-1_design1.set ...
> Warning: couldn't find a direct match between .set and .daterp, loading C:\Users\eeg-analysis2\Study New\Strangers\Hs481a-word_selection_receiver_renamed_ses-01.daterp
> making up statistical model for sub-Hs481a-word_selection_receiver_renamed_ses-1_design1.set ...
> pulling trials for sub-Hs481a-word_selection_receiver_renamed_ses-2_design1.set ...
> Warning: couldn't find a direct match between .set and .daterp, loading C:\Users\eeg-analysis2\Study New\Couples\Hs481a-word_selection_receiver_renamed_ses-02.daterp
> making up statistical model for sub-Hs481a-word_selection_receiver_renamed_ses-2_design1.set ...
> pulling trials for sub-Hs481b-word_selection_receiver_renamed_ses-1_design1.set ...
>
>
> I'm not even sure whether this error has anything to do with the comparison of the two sessions or whether it is an earlier stage of an individual dataset analysis that is not working.
> Can you please advise on this?
>
> Thank you,
> Agata
>
>
>
> Hi Agata
>
> alternatively you can set the two sessions in STUDY. Each session with
> language and valence. STUDY/LIMO will automatically compute the
> difference between sessions, ie you end up with contrasts language
> difference and valence difference. This allows setting up and ANOVA 2x2
> on those difference (of course each effect now reflects the
> difference/interaction with relationship which is like having an ANOVA
> with only interaction terms). The main differences with merging are (1)
> does not assume the same variance between sessions (2) but does not
> allow testing main effects across sessions (although you can do the 2x2
> in each session to check consistency of results).
>
> Cyril
>
>
> _______________________________________________
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu or visit https://sccn.ucsd.edu/mailman/listinfo/eeglablist .

-- 
Dr Cyril Pernet, PhD, OHBM fellow, SSI fellow
Neurobiology Research Unit,
Building 8057, Blegdamsvej 9
Copenhagen University Hospital, Rigshospitalet
DK-2100 Copenhagen, Denmark

wamcyril at gmail.com
https://urldefense.com/v3/__https://zcal.co/cpernet__;!!Mih3wA!GsOrjwyqT5jqgyXcwn2maGXH2hQy8yydJagtxvoGKAFzloWYur7JK6eNlsxIomeE49-LvZ2Zv1S0P61DPuWyPg$ 
https://urldefense.com/v3/__https://cpernet.github.io/__;!!Mih3wA!GsOrjwyqT5jqgyXcwn2maGXH2hQy8yydJagtxvoGKAFzloWYur7JK6eNlsxIomeE49-LvZ2Zv1S0P620WWywgg$ 
https://urldefense.com/v3/__https://orcid.org/0000-0003-4010-4632__;!!Mih3wA!GsOrjwyqT5jqgyXcwn2maGXH2hQy8yydJagtxvoGKAFzloWYur7JK6eNlsxIomeE49-LvZ2Zv1S0P62oun25bw$ 



More information about the eeglablist mailing list