AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
October 08, 2021 10:54AM
Hello,

We have a dataset with 3 factors: 2 within subject factors (Pain, Faces), 1 between subjects factor (Group),

A 2 x 3 x 2 design.

Factors: Pain (Levels: pain, nopain)
Faces (Levels: neutral, positive, negative)
Group (Levels: patients, controls)

Here is our setup

3dLME -prefix result-lme_group -jobs 10 \
-mask myMask+tlrc \
-model "pain*faces + group" \
-ranEff '~1' \
-SS_type 3 \
-num_glt 6 \
-gltLabel 1 'pos-neu' -gltCode 1 'faces : 1*pos -1*neu' \
-gltLabel 2 'neg' -gltCode 2 'faces : 1*neg ' \
-gltLabel 3 'pos+nue-neg' -gltCode 3 'faces : 1*pos +1*neu -1*neg' \
-gltLabel 4 'pat_pos-neu' -gltCode 4 'faces : 1*pos -1*neu group : 1*pat' \
-gltLabel 5 'pat_neg-neu' -gltCode 5 'faces : 1*neg -1*neu group : 1*pat' \
-gltLabel 6 'pat_pos-neg' -gltCode 6 'faces : 1*pos -1*neg group : 1*pat' \
-dataTable \
Subj pain faces group InputFile \
s1 pain pos ctr s1+tlrc'[pain-pos#0_Coef]' \
s1 nopain neg ctr s1+tlrc'[nopain-neg#0_Coef]' \
s1 pain neu ctr s1+tlrc'[pain-neu#0_Coef]' \
...
s21 pain pos pat s21+tlrc'[pain-pos#0_Coef]' \
s21 nopain neg pat s21+tlrc'[pain-neg#0_Coef]' \


1. Does our setup look correct for a 3way design, 2 within and 1 between subjects factor?

2. Using 3dLME, does one just enter the available datasets and 3dLME recognizes what data points are missing? Or do you we have to code it a certain way (adding NA or ".")

Thanks.




Michael
Subject Author Posted

3dLME 3 factor design and missing data

mrif October 08, 2021 10:54AM

Re: 3dLME 3 factor design and missing data

gang October 08, 2021 01:20PM

Re: 3dLME 3 factor design and missing data

mrif October 11, 2021 09:10PM