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  

|
March 31, 2015 11:38PM
Dear Gang Chen,

Thank you for the detailed reply.
I have changed the model as you suggested. Please see the following:

3dMVM -prefix ~/MVM_DMN -jobs "12" \
-qVars "age,IQ" \
-bsVars "diag*sex+IQ+age" \
-wsE2 \
-SS_type 3 \
-num_glt 3 \
-gltLabel 1 'TDC-ADHD1-DIAG' -gltCode 1 'diag : 1*tdc -1*adhd1' \
-gltLabel 2 'TDC-ADHDC-DIAG' -gltCode 2 'diag : 1*tdc -1*adhdc' \
-gltLabel 3 'ADHDC-ADHD1-DIAG' -gltCode 3 'diag : 1*adhdc -1*adhd1' \
-dataTable \
Subj diag sex age IQ InputFile \
t01 tdc 1 9.49 140 group.TDC/subj.TDC1/rest_proc/GCOR_Z_subj.TDC1+tlrc.HEAD \
t02 tdc 1 9.18 126 group.TDC/subj.TDC2/rest_proc/GCOR_Z_subj.TDC2+tlrc.HEAD \
.....

but the result is again failure as follows.

~~~~~~~~~~~~~~~~~~~ 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) Inconsistent variable names which are case sensitive. For example, factor
named Group in model specifiction 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...

~~~~~~~~~~~~~~~~~~~ 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) Inconsistent variable names which are case sensitive. For example, factor
named Group in model specifiction 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...


Please guide about how to rectify this error.

Thanks in advance.

Regards,
Naveed
Subject Author Posted

3dLME model problem

Naveed March 29, 2015 10:45PM

Re: 3dLME model problem

gang March 30, 2015 10:05AM

Re: 3dLME model problem

Naveed March 30, 2015 11:04PM

Re: 3dLME model problem

gang March 31, 2015 05:30PM

Re: 3dLME model problem

Naveed March 31, 2015 11:38PM