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 16, 2016 01:13PM
Hi all,

I am trying to run a basic ANOVA using 3dMVM. When I attempt to run the script, I get an accurate summary of data structure, however, the script 'errors out' after reading the input files. My error is as follows:

Reading input files now...

~~~~~~~~~~~~~~~~~~~ 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 -model, -wsVars, or -qVars.
Note that within-subject or repeated-measures variables have to be declared
with -wsVars.

2) Misspecifications 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) 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...

I am using R version 3.2.5 and I have all the listed packages installed and updated.

My script:

3dMVM -prefix test -jobs 1 \
-model bob \
-dataTable \
Subj bob InputFile \
000000022453 2.000 s888mwc1mprage000000022453.nii \
000000075717 2.000 s888mwc1mprage000000075717.nii \
000000106601 1.000 s888mwc1mprage000000106601.nii \
000000106871 1.000 s888mwc1mprage000000106871.nii \
000000112288 1.000 s888mwc1mprage000000112288.nii \
000000240546 2.000 s888mwc1mprage000000240546.nii \
000000297685 2.000 s888mwc1mprage000000297685.nii \
000000308867 2.000 s888mwc1mprage000000308867.nii \
000000397377 1.000 s888mwc1mprage000000397377.nii \
000000458976 1.000 s888mwc1mprage000000458976.nii \
000000459848 2.000 s888mwc1mprage000000459848.nii \
000000469693 2.000 s888mwc1mprage000000469693.nii \
000000540905 2.000 s888mwc1mprage000000540905.nii \
000000602062 1.000 s888mwc1mprage000000602062.nii \
000000613223 2.000 s888mwc1mprage000000613223.nii \
000000642263 1.000 s888mwc1mprage000000642263.nii \
000000663084 2.000 s888mwc1mprage000000663084.nii \
000000724314 1.000 s888mwc1mprage000000724314.nii

Any suggestions?
~BFair
Subject Author Posted

3dMVM model test failed

bfair August 16, 2016 01:13PM

Re: 3dMVM model test failed

gang August 16, 2016 04:01PM

Re: 3dMVM model test failed

bfair August 18, 2016 11:27AM

Re: 3dMVM model test failed

gang August 18, 2016 02:31PM

Re: 3dMVM model test failed

bfair August 19, 2016 09:47AM

Re: 3dMVM model test failed

gang August 22, 2016 09:49AM

Re: 3dMVM model test failed

bfair August 22, 2016 10:06AM

Re: 3dMVM model test failed

gang August 22, 2016 11:42AM

Re: 3dMVM model test failed

bfair August 22, 2016 02:34PM

Re: 3dMVM model test failed

gang August 22, 2016 02:54PM

Re: 3dMVM model test failed

bfair August 23, 2016 09:11AM

Re: 3dMVM model test failed

bfair August 25, 2016 12:47PM