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  

|
April 12, 2015 09:11AM
Hello
I have an experiment with 3 within subject variables (note, melodyType and originality). All subjects perticipated in all conditions.
***** Summary information of data structure *****
10 subjects : s1 s10 s2 s3 s4 s5 s6 s7 s8 s9
80 response values
2 levels for factor note : 2 3
2 levels for factor melodyType : Cantata Tikva
2 levels for factor originality : dev orig

I wanted to run 4 ways ANOVA and I get an error when using the following command:
~/abin/3dMVM -prefix Real1 -jobs 1 \
-bsVars 1 \
-wsVars 'note*melodyType*originality' \
-mask /data/users/inbal/Documents/PHD/myproject/lib/SAM_BIU/docs/MASKbrain+tlrc \
-num_glt 0 \
-dataTable @table1.txt

the error is as following:
...
~~~~~~~~~~~~~~~~~~~ Model test failed! ~~~~~~~~~~~~~~~~~~~
Possible reasons:

0) Make sure that R packages afex and phia have been installed. See the 3dMVM
help documentation for more details.

1) Inappropriate model specification with options -bsVars, -wsVars, or -qVars.
Note that within-subject or repeated-measures variables have to be declared
with -wsVars.

2) Incorrect specifications in general linear test coding with -gltCode.

3) Mistakes in data table. Check the data structure shown above, and verify
whether there are any inconsistencies.

4) Inconsistent variable names which are case sensitive. For example, factor
named Group in model specification and then listed as group in the table hader
would cause grief for 3dMVM.

5) Not enough number of subjects. This may happen when there are two or more
withi-subject factors. For example, a model with two within-subject factors with
m and n levels respectively requires more than (m-1)*(n-1) subjects to be able to
model the two-way interaction with the multivariate approach.


** Error:
Quitting due to model test failure...

about the comments:
1. I made sure I installed all packages that are needed for R,
2. I am not sure how to use correctly the model specification for my design - I'll be happy if you can offer the correct model specification for me. (if there is more than one, I'll be happy to get examples)
3. I think the data table is fine...
4. The names of my factors are consistent with the table1.txt (see below)
5. I only have 10 subjects,,,

this is the first few lines from table1.txt:
Subj note melodyType originality InputFile \
s1 2 Tikva orig /data/users/inbal/Documents/PHD/myproject/Data_Exp3/2/MelodyAFNI2/MelodyMean_T_13_25Hz_Rank2_blur_10mm+tlrc[0] \
s1 2 Tikva dev /data/users/inbal/Documents/PHD/myproject/Data_Exp3/2/MelodyAFNI2/MelodyMean_TM_13_25Hz_Rank2_blur_10mm+tlrc[0] \
s1 2 Cantata orig /data/users/inbal/Documents/PHD/myproject/Data_Exp3/2/MelodyAFNI2/MelodyMean_C_13_25Hz_Rank2_blur_10mm+tlrc[0] \
s1 2 Cantata dev /data/users/inbal/Documents/PHD/myproject/Data_Exp3/2/MelodyAFNI2/MelodyMean_Cm_13_25Hz_Rank2_blur_10mm+tlrc[0] \
s1 3 Tikva orig /data/users/inbal/Documents/PHD/myproject/Data_Exp3/2/MelodyAFNI2/MelodyMean_T_13_25Hz_Rank3_blur_10mm+tlrc[0] \
...

many many thanks
Inbal
Subject Author Posted

3dMVM design for 3 undependant factors

Inbalots April 12, 2015 09:11AM

Re: 3dMVM design for 3 undependant factors

Sandra Lennon April 13, 2015 04:12AM

Re: 3dMVM design for 3 undependant factors

Inbalots April 13, 2015 10:15AM

Re: 3dMVM design for 3 undependant factors

gang April 13, 2015 10:09AM

Re: 3dMVM design for 3 undependant factors

Inbalots April 13, 2015 10:21AM