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  

|
September 11, 2012 02:13PM
Hello,

I would like to remove a covariate of behavioral measures from a quadratic regression. Each subject has 8 blocks.
I'm a bit confused as to how set the -model.
If I have this script with 1st col = quadratic, 2nd = Covariate (de-meaned), should the I use -model 1 : 0 2 or -model 1 2 : 0
Again, just to be clear, I want to remove the effects of the covariate from the quadratic regression effects.

-xydata -7 -0.021 s1_special_20_Mod8X_A1-null+tlrc \
-xydata -1 -0.047 s1_special_20_Mod8X_A2-null+tlrc \
-xydata 3 -0.052 s1_special_20_Mod8X_A3-null+tlrc \
-xydata 5 -0.037 s1_special_20_Mod8X_A4-null+tlrc \
-xydata 5 -0.044 s1_special_20_Mod8X_A5-null+tlrc \
-xydata 3 -0.029 s1_special_20_Mod8X_A6-null+tlrc \
-xydata -1 -0.035 s1_special_20_Mod8X_A7-null+tlrc \
-xydata -7 -0.045 s1_special_20_Mod8X_A8-null+tlrc \
....
-xydata -7 -0.021 s20_special_20_Mod8X_A8-null+tlrc \
bucket 0 name


Thanks in advance for your help
pat
Subject Author Posted

Remove covariate from Regression

patrick bedard September 11, 2012 02:13PM

Re: Remove covariate from Regression

gang September 11, 2012 04:57PM

Re: Remove covariate from Regression

patrick bedard September 12, 2012 10:28AM

Re: Remove covariate from Regression

gang September 13, 2012 04:09PM

Re: Remove covariate from Regression

patrick bedard September 14, 2012 01:27PM

Re: Remove covariate from Regression

gang September 17, 2012 07:17AM

Re: Remove covariate from Regression

patrick bedard September 17, 2012 03:56PM

Re: Remove covariate from Regression

gang September 18, 2012 12:33PM

Re: Remove covariate from Regression

patrick bedard September 18, 2012 02:30PM

Re: Remove covariate from Regression

gang September 18, 2012 04:43PM

Re: Remove covariate from Regression

patrick bedard September 18, 2012 05:33PM