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  

|
June 22, 2016 07:47AM
Dear AFNI users,

I have been trying to run a 3dLME script and after a couple of minutes I get the following error:

~~~~~~~~~~~~~~~~~~~ Model test failed ~~~~~~~~~~~~~~~~~~~
Possible reasons:

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

1) Inappropriate model specification with options -model, or -qVars.

2) In correct 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 header
would cause grief for 3dLME.

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


I have verified all points but for some reason the script still does not work. Here is the script:

3dLME \
-prefix G14_ANOVA_BLOCK5_PH \
-qVars "Cote_PH" \
-ranEff '~Cote_PH' \
-SS_type 3 \
-model "Cond*Cote_PH" \
-num_glt 6 \
-gltLabel 1 'CCmean' -gltCode 1 'Cond : 1*CC' \
-gltLabel 2 'CImean' -gltCode 2 'Cond : 1*CI' \
-gltLabel 3 'IImean' -gltCode 3 'Cond : 1*II' \
-gltLabel 4 'CC-II ' -gltCode 4 'Cond : 1*CC -1*II' \
-gltLabel 5 'CC-CI ' -gltCode 5 'Cond : 1*CC -1*CI' \
-gltLabel 6 'CI-II ' -gltCode 6 'Cond : 1*CI -1*II' \
-dataTable \
Subj Cond Cote_PH InputFile \
S303 CC 0.32 'S303.EPI.Decon.Block5.masked+tlrc[CC#0_Coef]' \
S303 CI 0.56 'S303.EPI.Decon.Block5.masked+tlrc[CI#0_Coef]' \
S303 II 1.00 'S303.EPI.Decon.Block5.masked+tlrc[II#0_Coef]' \
S304 CC 0.33 'S304.EPI.Decon.Block5.masked+tlrc[CC#0_Coef]' \
S304 CI 0.59 'S304.EPI.Decon.Block5.masked+tlrc[CI#0_Coef]' \
S304 II 1.00 'S304.EPI.Decon.Block5.masked+tlrc[II#0_Coef]' \
S305 CC 0.19 'S305.EPI.Decon.Block5.masked+tlrc[CC#0_Coef]' \
S305 CI 0.27 'S305.EPI.Decon.Block5.masked+tlrc[CI#0_Coef]' \
S305 II 1.00 'S305.EPI.Decon.Block5.masked+tlrc[II#0_Coef]' \
S308 CC 0.40 'S308.EPI.Decon.Block5.masked+tlrc[CC#0_Coef]' \
S308 CI 0.78 'S308.EPI.Decon.Block5.masked+tlrc[CI#0_Coef]' \
S308 II 1.00 'S308.EPI.Decon.Block5.masked+tlrc[II#0_Coef]' \
S309 CC 0.39 'S309.EPI.Decon.Block5.masked+tlrc[CC#0_Coef]' \
S309 CI 0.57 'S309.EPI.Decon.Block5.masked+tlrc[CI#0_Coef]' \
S309 II 1.00 'S309.EPI.Decon.Block5.masked+tlrc[II#0_Coef]' \
S310 CC 0.19 'S310.EPI.Decon.Block5.masked+tlrc[CC#0_Coef]' \
S310 CI 0.44 'S310.EPI.Decon.Block5.masked+tlrc[CI#0_Coef]' \
S310 II 0.99 'S310.EPI.Decon.Block5.masked+tlrc[II#0_Coef]' \
S315 CC 0.30 'S315.EPI.Decon.Block5.masked+tlrc[CC#0_Coef]' \
S315 CI 0.49 'S315.EPI.Decon.Block5.masked+tlrc[CI#0_Coef]' \
S315 II 1.00 'S315.EPI.Decon.Block5.masked+tlrc[II#0_Coef]' \
S316 CC 0.32 'S316.EPI.Decon.Block5.masked+tlrc[CC#0_Coef]' \
S316 CI 0.50 'S316.EPI.Decon.Block5.masked+tlrc[CI#0_Coef]' \
S316 II 1.00 'S316.EPI.Decon.Block5.masked+tlrc[II#0_Coef]' \
S317 CC 0.00 'S317.EPI.Decon.Block5.masked+tlrc[CC#0_Coef]' \
S317 CI 0.38 'S317.EPI.Decon.Block5.masked+tlrc[CI#0_Coef]' \
S317 II 1.00 'S317.EPI.Decon.Block5.masked+tlrc[II#0_Coef]' \
S318 CC 0.04 'S318.EPI.Decon.Block5.masked+tlrc[CC#0_Coef]' \
S318 CI 0.10 'S318.EPI.Decon.Block5.masked+tlrc[CI#0_Coef]' \
S318 II 0.88 'S318.EPI.Decon.Block5.masked+tlrc[II#0_Coef]' \
S319 CC 0.02 'S319.EPI.Decon.Block5.masked+tlrc[CC#0_Coef]' \
S319 CI 0.36 'S319.EPI.Decon.Block5.masked+tlrc[CI#0_Coef]' \
S319 II 0.98 'S319.EPI.Decon.Block5.masked+tlrc[II#0_Coef]' \
S320 CC 0.11 'S320.EPI.Decon.Block5.masked+tlrc[CC#0_Coef]' \
S320 CI 0.64 'S320.EPI.Decon.Block5.masked+tlrc[CI#0_Coef]' \
S320 II 1.00 'S320.EPI.Decon.Block5.masked+tlrc[II#0_Coef]' \
S321 CC 0.00 'S321.EPI.Decon.Block5.masked+tlrc[CC#0_Coef]' \
S321 CI 0.03 'S321.EPI.Decon.Block5.masked+tlrc[CI#0_Coef]' \
S321 II 0.88 'S321.EPI.Decon.Block5.masked+tlrc[II#0_Coef]' \
S324 CC 0.08 'S324.EPI.Decon.Block5.masked+tlrc[CC#0_Coef]' \
S324 CI 0.10 'S324.EPI.Decon.Block5.masked+tlrc[CI#0_Coef]' \
S324 II 0.80 'S324.EPI.Decon.Block5.masked+tlrc[II#0_Coef]'

Any ideas or thoughts as to where the problem lies.

Thanks,

Isabelle
Subject Author Posted

3dLME Quitting due to model test failure

IsabelleD June 22, 2016 07:47AM

Re: 3dLME Quitting due to model test failure

gang June 22, 2016 04:29PM