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 04, 2020 06:15PM
I assume x and y each has one value per subject. See if the following works for you.

1) Remove the population mean of x from each subject and call it X;

2) Remove the population mean of 'brain' at the voxel level and call it BRAIN;

3) Obtain the product of X and BRAIN using 3dcalc for each subject and call it XB:

3dcalc -a BRAIN -expr 'a*x' -prefix XB

4) Create a 3D dataset for subject with the same y value for the whole brain with a command like

3dcalc -a BRAIN -expr 'y' -prefix subject1

5) Set up your model using 3dttest++ with all the explanatory variables: X, BRAIN, XB plus other covariates. 3dttest++ can accommodate voxel-wise covariates (BRAIN and XB in your cases).

Gang



Edited 1 time(s). Last edit at 06/04/2020 06:20PM by Gang.
Subject Author Posted

model brain-behavior relations with interactions

anthonystevendick June 04, 2020 01:12AM

Re: model brain-behavior relations with interactions

gang June 04, 2020 03:02PM

Re: model brain-behavior relations with interactions

anthonystevendick June 04, 2020 03:41PM

Re: model brain-behavior relations with interactions

gang June 04, 2020 06:15PM

Re: model brain-behavior relations with interactions

anthonystevendick June 05, 2020 03:23PM

Re: model brain-behavior relations with interactions

gang June 05, 2020 04:33PM