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 01, 2007 04:30PM
Alright, this is what you can try:

Suppose there are 4 conditions, 5 subjects, and one covariate. In the following 3dRegAna script, you have a 20X7 design matrix.

(1) Add the covariate (after removing the mean) to end of each line (before the backslash).
(2) The 20 rows of the matrix is partitioned into 5 parts: the 1st 5 lines correspond to the 1st condition for the 5 subjects; the 2nd ...
(3) The 1st 3 columns are for the 4 conditions while the next 4 lines code for the 5 subjects.
(4) Make appropriate adjustment in your script for your experiment.
(5) With this script you can get pair-wise comparisons (and main effects). However, for something like condition 1 vs. 234 it is terribly challenging. It is really a headache for me to deal with such a situation, and that was why I started to develop 3dLME.

Good luck,
Gang


3dRegAna \
-rows 20 \
-cols 8 \
-xydata 1 0 0 1 0 0 0 \
-xydata 1 0 0 0 1 0 0 \
-xydata 1 0 0 0 0 1 0 \
-xydata 1 0 0 0 0 0 1 \
-xydata 1 0 0 -1 -1 -1 -1 \
-xydata 0 1 0 1 0 0 0 \
-xydata 0 1 0 0 1 0 0 \
-xydata 0 1 0 0 0 1 0 \
-xydata 0 1 0 0 0 0 1 \
-xydata 0 1 0 -1 -1 -1 -1 \
-xydata 0 0 1 1 0 0 0 \
-xydata 0 0 1 0 1 0 0 \
-xydata 0 0 1 0 0 1 0 \
-xydata 0 0 1 0 0 0 1 \
-xydata 0 0 1 -1 -1 -1 -1 \
-xydata 0 0 0 1 0 0 0 \
-xydata 0 0 0 0 1 0 0 \
-xydata 0 0 0 0 0 1 0 \
-xydata 0 0 0 0 0 0 1 \
-xydata 0 0 0 -1 -1 -1 -1 \
-model 1 2 3 : 0 5 6 7 8 \
-bucket 0 MyOutput
Subject Author Posted

contrasting conditions in ANCOVA

Hedvig October 01, 2007 02:56PM

Re: contrasting conditions in ANCOVA

Gang Chen October 01, 2007 03:49PM

Re: contrasting conditions in ANCOVA

Hedvig October 01, 2007 03:59PM

Re: contrasting conditions in ANCOVA

Gang Chen October 01, 2007 04:30PM

Re: contrasting conditions in ANCOVA

Hedvig October 02, 2007 01:23PM

Re: contrasting conditions in ANCOVA

Gang Chen October 03, 2007 10:57AM

Re: contrasting conditions in ANCOVA

Hedvig October 03, 2007 11:01AM

Re: contrasting conditions in ANCOVA

Hedvig October 03, 2007 11:02AM