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  

|
June 27, 2022 08:57PM
Hello,

I am using 3dISC to model data from a mixed-effects design. I have 3 between-subject levels (patients with drug; patients with placebo; controls with placebo) and 4 within-subject levels (4 types of videos all subjects watched).

I am not interested in the between-group ISC and started by building a model disregarding the within-subject effects (averaging the pairwise correlation matrices from all videos using 3dCalc). Based on example 2 I came up with the following model:

3dISC -prefix ISC2b -jobs 12 \
-model '0+grp+(1|Subj1)+(1|Subj2)' \
-gltCode ave '0.333 0 0 0.333 0 0.333' \
-gltCode G11 '1 0 0 0 0 0' \
-gltCode G22 '0 0 0 1 0 0 ' \
-gltCode G33 '0 0 0 0 0 1' \
-gltCode G11vG22 '1 0 0 -1 0 0' \
-gltCode G11vG33 '1 0 0 0 0 -1' \
-gltCode G22vG33 '0 0 0 1 0 -1' \
-dataTable \
Subj1 Subj2 grp InputFile \
s1 s2 G11 s1_2+tlrc \
...
s1 s3 G12 s1_3+tlr \
...
s1 s4 G13 s1_4+tlr \
...
s3 s6 G22 s3_6+tlr \
...
s3 s4 G23 s3_4+tlr \
...
s4 s7 G33 s4_s7+tlr \

First I wanted to check if this looks correct or if the reverse group comparison constrasts need to be added:

-gltCode G11vG22 '-1 0 0 1 0 0' \
-gltCode G11vG33 '-1 0 0 0 0 1' \
-gltCode G22vG33 '0 0 0 -1 0 1' \


Secondly, I wanted to asked if the best way to model for the within subject conditions is as described in Example 5.
For example, from those 4 types of videos, 3 types are social and 1 type is non-social. I wanted to look at the interaction effect of "group by socialness" and at the effect of group within social videos only.
Is there a way to run a single model with all of these effects or do I have to run separate ISC models (i.e. a model with all videos, as above; a model only with social videos; and a model for the socialvs.non-social).

Thanks for any input in advance!

Cheers,
Vasco
Subject Author Posted

3dISC mixed effects modeling

vdiogo June 27, 2022 08:57PM

Re: 3dISC mixed effects modeling

gang June 28, 2022 05:17PM

Re: 3dISC mixed effects modeling

vdiogo July 04, 2022 01:20PM

Re: 3dISC mixed effects modeling

vdiogo July 04, 2022 10:30PM

Re: 3dISC mixed effects modeling

gang July 05, 2022 05:02PM

Re: 3dISC mixed effects modeling

vdiogo July 05, 2022 06:44PM

Re: 3dISC mixed effects modeling

gang July 07, 2022 10:59AM

Re: 3dISC mixed effects modeling

vdiogo August 02, 2022 01:05PM

Re: 3dISC mixed effects modeling

gang August 03, 2022 05:14PM

Re: 3dISC mixed effects modeling

vdiogo August 11, 2022 01:26PM

Re: 3dISC mixed effects modeling

gang August 12, 2022 06:36AM

Re: 3dISC mixed effects modeling

vdiogo August 18, 2022 04:07PM

Re: 3dISC mixed effects modeling

gang August 19, 2022 09:59PM

Re: 3dISC mixed effects modeling

vdiogo August 27, 2022 10:15AM

Re: 3dISC mixed effects modeling

gang August 29, 2022 02:55PM

Re: 3dISC mixed effects modeling

vdiogo March 01, 2023 08:09PM

Re: 3dISC mixed effects modeling

gang March 02, 2023 09:02AM