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 17, 2022 12:45PM
Hello,

Let me try to clarify some things.

0) What is your TR, and how many time points are there?

1) Are you trying to erode those masks twice? If so, maybe 3dmask_tool would be easier and more direct to use.

2) Do the regressor and regressor_deriv files look like valid time series?

3) Why do you think that the time series were not projected out?

4) Are you attempting to bandpass separate from nuisance regression? This might be part of the problem, in that the output from this will no longer necessarily be orthogonal to the nuisance regressors.

The correct way to do this would be to run 3dDeconvolve using -x1D_stop (i.e. do not actually make an output dataset), just generating the projection matrix X.xmat.1D. Then pass that along with your bandpass options to 3dTproject, so that it can all be part of the same model.

Doing projections in multiple steps has 2 problems:
a. Unless the projection is performed on the second (or later) set of regressors, the second projection will project back in some of what was removed in the first one.
b. Degrees of freedom are not properly accounted for. Bandpassing removes a large fraction of your degrees of freedom, essentially using MANY regressors of no interest. Sometimes just projections would essentially take one to few or even negative remaining DoF.

- rick
Subject Author Posted

Functional Preprocessing Nuisance Regression- derivatives not regressing out

mmahale October 15, 2022 10:46PM

Re: Functional Preprocessing Nuisance Regression- derivatives not regressing out

rick reynolds October 17, 2022 12:45PM

Re: Functional Preprocessing Nuisance Regression- derivatives not regressing out

RJ October 18, 2022 07:47PM

Re: Functional Preprocessing Nuisance Regression- derivatives not regressing out

rick reynolds October 19, 2022 12:13AM

Re: Functional Preprocessing Nuisance Regression- derivatives not regressing out

RJ October 20, 2022 12:21AM