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 18, 2005 10:18AM
Hi all,

I have a dataset with eight conditions (we’ll call them conditions A, B, C, D, E, F, G, and H). I need to construct a single general linear test that will identify voxels where there is a difference between at least two conditions. In other words, I need to find voxels where at least one condition is different from at least one other condition, as identified by the F-test on a single general linear test. The full matrix for describing such a contrast would look like this:
A B C D E F G H
____________________________________________
1 -1 0 0 0 0 0 0
1 0 -1 0 0 0 0 0
1 0 0 -1 0 0 0 0
1 0 0 0 -1 0 0 0
1 0 0 0 0 -1 0 0
1 0 0 0 0 0 -1 0
1 0 0 0 0 0 0 -1
0 1 -1 0 0 0 0 0
0 1 0 -1 0 0 0 0
0 1 0 0 -1 0 0 0
0 1 0 0 0 -1 0 0
0 1 0 0 0 0 -1 0
0 1 0 0 0 0 0 -1
0 0 1 -1 0 0 0 0
0 0 1 0 -1 0 0 0
0 0 1 0 0 -1 0 0
0 0 1 0 0 0 -1 0
0 0 1 0 0 0 0 -1
0 0 0 1 -1 0 0 0
0 0 0 1 0 -1 0 0
0 0 0 1 0 0 -1 0
0 0 0 1 0 0 0 -1
0 0 0 0 1 -1 0 0
0 0 0 0 1 0 -1 0
0 0 0 0 1 0 0 -1
0 0 0 0 0 1 -1 0
0 0 0 0 0 1 0 -1
0 0 0 0 0 0 1 -1

The problem with this matrix, of course, is that there are WAY more rows than columns and 3dDeconvolve can’t find the inverse matrix. Does anyone have any suggestions as to how to code this contrast so that it won’t crash 3dDeconvolve and still show the voxels where a difference exists between at least two conditions?

Thanks,
Kyle

Subject Author Posted

contrast coding

Kyle October 18, 2005 10:18AM

Re: contrast coding

Gang Chen October 18, 2005 11:07AM

Re: contrast coding

Kyle October 18, 2005 11:32AM

Re: contrast coding

Chris Moore December 05, 2005 12:36PM

Re: contrast coding

Gang Chen December 05, 2005 03:27PM

Re: contrast coding

Chris Moore December 07, 2005 04:59PM

Re: contrast coding

Gang Chen December 08, 2005 02:09PM