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  

|
August 30, 2016 01:32PM
1) Since you don't give the error message, it is hard to say what the problem is. In general, I would recommend avoiding very complex command lines like this, and do it in 3 steps: 3dcalc as needed, 3dttest++, then delete the temporary files

2) In general, it is not true that regressing with the average of 2 regressors gives the result that is the average of the separate regressions. This happens because the result of the regression is not a linear function of the regressors -- it is a linear function of the DATA. So if you have 2 separate (perhaps similar) conditions that lead to Brick(1) and Brick(3), and then want to see where ignoring their differences leads to changes from Brick(5), in my opinion you should average Brick(1) and Brick(3) and then test vs. Brick(5) -- as you seem to be trying to do. Otherwise, you are carrying out a separate analysis with the merged #1 and #3 regressors, and then how do you compare that to the analysis results from the separated #1 and #3 cases?

In the case that the regressors from #1 and #3 are orthogonal and have the same L2 norm, then the results of the 2 procedures would be the same. This would be the case if the 2 regressors had the same number of stimuli, and the stimuli were separated in time enough so there was no overlap between the responses.
Subject Author Posted

why my 3dcalc does not work?

Juan August 27, 2016 08:26PM

Re: why my 3dcalc does not work?

gang August 30, 2016 01:25PM

Re: why my 3dcalc does not work?

Bob Cox August 30, 2016 01:32PM

Re: why my 3dcalc does not work?

Juan August 30, 2016 03:05PM

Re: why my 3dcalc does not work?

gang August 30, 2016 05:12PM

Re: why my 3dcalc does not work?

Juan August 30, 2016 08:59PM

Re: why my 3dcalc does not work?

gang August 31, 2016 09:49AM