AFNI Message Board

History of AFNI updates  

|
September 14, 2020 10:56AM
Hi Gang,

Thank you for your work on this. We'd like to use 3dLMEr to test functional activation differences between groups during an emotional faces task. There are three groups (ADHD-P, ADHD-D, and ADHD-NA), three emotional trial conditions (pos, neg, neut), and a few covariates we want to include in our model (age, sex, handedness, site, and co-morbidities). Basically, we want to test differences in trial-type activation between groups while controlling for the listed covariates within a specified mask. I looked through the examples in the documentation, but am uncertain about how to set up the "-model" and "-gltCode" parts of the script for our data.

Is this the right idea for how I'd set up this part of the script?

-model 'emotion+group+(1|Subj)+(1|age)+(1|sex)+(1|handedness)+(1|site)+(1|comorbid)'

-gltCode adhd.p 'group : 1*adhd-p' \
-gltCode adhd.d 'group : 1*adhd-d' \
-gltCode adhd.na 'group : 1*adhd-na' \
-gltCode pos 'emotion : 1*pos' \
-gltCode neg 'emotion : 1*neg' \
-gltCode pos 'emotion : 1*neut' \

-gltCode adhd.p-adhd.d 'group : 1*adhd.p -1*adhd.d' \
-gltCode adhd.p-adhd.na 'group : 1*adhd.p -1*adhd.na' \
-gltCode adhd.d-adhd.na 'group : 1*adhd.d -1*adhd.na' \

I think it's this last chunk that I'm most uncertain about. How do I introduce the three emotion conditions into each of the three group differences? Would I end up with 9 total lines for this 3x3 setup?

Huge thanks in advance for your time and help! It's greatly appreciated.

Best,
Amar
Subject Author Posted

New program 3dLMEr for linear mixed-effects modeling

Gang December 30, 2019 10:58AM

Re: New program 3dLMEr for linear mixed-effects modeling

Yue January 08, 2020 05:22PM

Re: New program 3dLMEr for linear mixed-effects modeling

Gang January 09, 2020 12:01PM

Re: New program 3dLMEr for linear mixed-effects modeling

Yue January 14, 2020 11:15AM

Re: New program 3dLMEr for linear mixed-effects modeling

Andrew Davis April 24, 2020 01:11PM

Re: New program 3dLMEr for linear mixed-effects modeling

Gang April 24, 2020 02:39PM

Re: New program 3dLMEr for linear mixed-effects modeling

Andrew Davis April 25, 2020 11:46AM

Re: New program 3dLMEr for linear mixed-effects modeling

Andrew Davis April 30, 2020 04:02PM

Re: New program 3dLMEr for linear mixed-effects modeling

Gang April 30, 2020 05:53PM

Re: New program 3dLMEr for linear mixed-effects modeling

Andrew Davis April 30, 2020 09:07PM

Re: New program 3dLMEr for linear mixed-effects modeling

Gang May 01, 2020 02:42PM

Re: New program 3dLMEr for linear mixed-effects modeling

Andrew Davis May 02, 2020 12:12PM

Re: New program 3dLMEr for linear mixed-effects modeling

ben88 August 03, 2020 07:53PM

Re: New program 3dLMEr for linear mixed-effects modeling

Gang August 04, 2020 07:53AM

Re: New program 3dLMEr for linear mixed-effects modeling

ben88 August 04, 2020 08:14AM

Re: New program 3dLMEr for linear mixed-effects modeling

Gang August 04, 2020 08:59AM

Re: New program 3dLMEr for linear mixed-effects modeling

ben88 August 12, 2020 04:33PM

Re: New program 3dLMEr for linear mixed-effects modeling

Gang August 13, 2020 02:36PM

Re: New program 3dLMEr for linear mixed-effects modeling

aojha17 September 14, 2020 10:56AM

Re: New program 3dLMEr for linear mixed-effects modeling

Gang September 14, 2020 02:13PM

Re: New program 3dLMEr for linear mixed-effects modeling

aojha17 September 18, 2020 07:32PM

Re: New program 3dLMEr for linear mixed-effects modeling

Gang September 21, 2020 08:31PM

Re: New program 3dLMEr for linear mixed-effects modeling

aojha17 September 22, 2020 03:41PM

Re: New program 3dLMEr for linear mixed-effects modeling

Gang September 22, 2020 04:00PM

Re: New program 3dLMEr for linear mixed-effects modeling

aojha17 September 22, 2020 09:01PM

Re: New program 3dLMEr for linear mixed-effects modeling

Gang September 23, 2020 10:09AM

Re: New program 3dLMEr for linear mixed-effects modeling

aojha17 September 23, 2020 11:21AM

Re: New program 3dLMEr for linear mixed-effects modeling

henrybrice October 20, 2020 09:06AM

Re: New program 3dLMEr for linear mixed-effects modeling

Gang October 20, 2020 12:31PM

Re: New program 3dLMEr for linear mixed-effects modeling

henrybrice October 20, 2020 03:22PM

Re: New program 3dLMEr for linear mixed-effects modeling

Gang October 20, 2020 09:05PM

Re: New program 3dLMEr for linear mixed-effects modeling

henrybrice October 21, 2020 05:43AM



Sorry, you can't reply to this topic. It has been closed.