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 29, 2016 09:07PM
Hi Gang,
I want to run a group analysis with 1 between subject factor: GROUP (Main, Control), and 2 with subject factors: TASK (Video, Language), VISIT (1st, 2nd, 3rd). There are missing data for some within-subject factors.
I was trying the following "3dMVM" and "3dLME" commands but got similar error information that I don't understand. Could you please help? Thank you very much!

------------------------------------------------------------------------------------------
3dMVM -prefix ./GroupLevelAnova -jobs 10 \
-mask ./BrainMask.nii.gz \
-bsVars 'GROUP' \
-wsVars 'TASK*VISIT' \
-wsE2 \
-num_glf 6 \
-glfLabel 1 Main_Video_Training -glfCode 1 'GROUP : 1*Main TASK : Video VISIT : 1*2nd -1*1st & 1*3rd -1*1st' \
-glfLabel 2 Main_Language_Training -glfCode 2 'GROUP : 1*Main TASK : Language VISIT : 1*2nd -1*1st & 1*3rd -1*1st' \
-glfLabel 3 Control_Video_Training -glfCode 3 'GROUP : 1*Control TASK : Video VISIT : 1*2nd -1*1st & 1*3rd -1*1st' \
-glfLabel 4 Control_Language_Training -glfCode 4 'GROUP : 1*Control TASK : Language VISIT : 1*2nd -1*1st & 1*3rd -1*1st' \
-glfLabel 5 Main-Control_Video_Training -glfCode 5 'GROUP : 1*Main -1*Contol TASK : Video VISIT : 1*2nd -1*1st & 1*3rd -1*1st' \
-glfLabel 6 Main-Control_Language_Training -glfCode 6 'GROUP : 1*Main -1*Control TASK : Language VISIT : 1*2nd -1*1st & 1*3rd -1*1st' \
-num_glt 18 \
-gltLabel 1 Main_Video_1st -gltCode 1 'GROUP : 1*Main TASK : 1*Video VISIT : 1*1st' \
-gltLabel 2 Main_Video 2nd -gltCode 2 'GROUP : 1*Main TASK : 1*Video VISIT : 1*2nd' \
-gltLabel 3 Main_Video 3rd -gltCode 3 'GROUP : 1*Main TASK : 1*Video VISIT : 1*3rd' \
-gltLabel 4 Main_Language_1st -gltCode 4 'GROUP : 1*Main TASK : 1*Language VISIT : 1*1st' \
-gltLabel 5 Main_Language 2nd -gltCode 5 'GROUP : 1*Main TASK : 1*Language VISIT : 1*2nd' \
-gltLabel 6 Main_Language 3rd -gltCode 6 'GROUP : 1*Main TASK : 1*Language VISIT : 1*3rd' \
-gltLabel 7 Control_Video_1st -gltCode 7 'GROUP : 1*Control TASK : 1*Video VISIT : 1*1st' \
-gltLabel 8 Control_Video_2nd -gltCode 8 'GROUP : 1*Control TASK : 1*Video VISIT : 1*2nd' \
-gltLabel 9 Control_Video_3rd -gltCode 9 'GROUP : 1*Control TASK : 1*Video VISIT : 1*3rd' \
-gltLabel 10 Control_Language_1st -gltCode 10 'GROUP : 1*Control TASK : 1*Language VISIT : 1*1st' \
-gltLabel 11 Control_Language_2nd -gltCode 11 'GROUP : 1*Control TASK : 1*Language VISIT : 1*2nd' \
-gltLabel 12 Control_Language_3rd -gltCode 12 'GROUP : 1*Control TASK : 1*Language VISIT : 1*3rd' \
-gltLabel 13 Main-Control_Video_1st -gltCode 13 'GROUP : 1*Main -1*Control TASK : 1*Video VISIT : 1*1st' \
-gltLabel 14 Main-Control_Video_2nd -gltCode 14 'GROUP : 1*Main -1*Control TASK : 1*Video VISIT : 1*2nd' \
-gltLabel 15 Main-Control_Video_3rd -gltCode 15 'GROUP : 1*Main -1*Control TASK : 1*Video VISIT : 1*3rd' \
-gltLabel 16 Main-Control_Language_1st -gltCode 16 'GROUP : 1*Main -1*Control TASK : 1*Language VISIT : 1*1st' \
-gltLabel 17 Main-Control_Language_2nd -gltCode 17 'GROUP : 1*Main -1*Control TASK : 1*Language VISIT : 1*2nd' \
-gltLabel 18 Main-Control_Language_3rd -gltCode 18 'GROUP : 1*Main -1*Control TASK : 1*Language VISIT : 1*3rd' \
-dataTable \
Subj GROUP TASK VISIT InputFile \
....

Error in seq.default(2, length(sepTerms), 2) :
wrong sign in 'by' argument
Calls: process.MVM.opts -> gl_Constr -> glfConstr -> seq -> seq.default
Execution halted
--------------------------------------------------------------------------------------



--------------------------------------------------------------------------------------
3dLME -prefix ./GroupLevelAnova -jobs 10 \
-mask ./BrainMask.nii.gz \
-model 'GROUP*TASK*VISIT' \
-ranEff '~1' \
-SS_type 3 \
-num_glf 6 \
-glfLabel 1 Main_Video_Training -glfCode 1 'GROUP : 1*Main TASK : Video VISIT : 1*2nd -1*1st & 1*3rd -1*1st' \
-glfLabel 2 Main_Language_Training -glfCode 2 'GROUP : 1*Main TASK : Language VISIT : 1*2nd -1*1st & 1*3rd -1*1st' \
-glfLabel 3 Control_Video_Training -glfCode 3 'GROUP : 1*Control TASK : Video VISIT : 1*2nd -1*1st & 1*3rd -1*1st' \
-glfLabel 4 Control_Language_Training -glfCode 4 'GROUP : 1*Control TASK : Language VISIT : 1*2nd -1*1st & 1*3rd -1*1st' \
-glfLabel 5 Main-Control_Video_Training -glfCode 5 'GROUP : 1*Main -1*Contol TASK : Video VISIT : 1*2nd -1*1st & 1*3rd -1*1st' \
-glfLabel 6 Main-Control_Language_Training -glfCode 6 'GROUP : 1*Main -1*Control TASK : Language VISIT : 1*2nd -1*1st & 1*3rd -1*1st' \
-num_glt 18 \
-gltLabel 1 Main_Video_1st -gltCode 1 'GROUP : 1*Main TASK : 1*Video VISIT : 1*1st' \
-gltLabel 2 Main_Video 2nd -gltCode 2 'GROUP : 1*Main TASK : 1*Video VISIT : 1*2nd' \
-gltLabel 3 Main_Video 3rd -gltCode 3 'GROUP : 1*Main TASK : 1*Video VISIT : 1*3rd' \
-gltLabel 4 Main_Language_1st -gltCode 4 'GROUP : 1*Main TASK : 1*Language VISIT : 1*1st' \
-gltLabel 5 Main_Language 2nd -gltCode 5 'GROUP : 1*Main TASK : 1*Language VISIT : 1*2nd' \
-gltLabel 6 Main_Language 3rd -gltCode 6 'GROUP : 1*Main TASK : 1*Language VISIT : 1*3rd' \
-gltLabel 7 Control_Video_1st -gltCode 7 'GROUP : 1*Control TASK : 1*Video VISIT : 1*1st' \
-gltLabel 8 Control_Video_2nd -gltCode 8 'GROUP : 1*Control TASK : 1*Video VISIT : 1*2nd' \
-gltLabel 9 Control_Video_3rd -gltCode 9 'GROUP : 1*Control TASK : 1*Video VISIT : 1*3rd' \
-gltLabel 10 Control_Language_1st -gltCode 10 'GROUP : 1*Control TASK : 1*Language VISIT : 1*1st' \
-gltLabel 11 Control_Language_2nd -gltCode 11 'GROUP : 1*Control TASK : 1*Language VISIT : 1*2nd' \
-gltLabel 12 Control_Language_3rd -gltCode 12 'GROUP : 1*Control TASK : 1*Language VISIT : 1*3rd' \
-gltLabel 13 Main-Control_Video_1st -gltCode 13 'GROUP : 1*Main -1*Control TASK : 1*Video VISIT : 1*1st' \
-gltLabel 14 Main-Control_Video_2nd -gltCode 14 'GROUP : 1*Main -1*Control TASK : 1*Video VISIT : 1*2nd' \
-gltLabel 15 Main-Control_Video_3rd -gltCode 15 'GROUP : 1*Main -1*Control TASK : 1*Video VISIT : 1*3rd' \
-gltLabel 16 Main-Control_Language_1st -gltCode 16 'GROUP : 1*Main -1*Control TASK : 1*Language VISIT : 1*1st' \
-gltLabel 17 Main-Control_Language_2nd -gltCode 17 'GROUP : 1*Main -1*Control TASK : 1*Language VISIT : 1*2nd' \
-gltLabel 18 Main-Control_Language_3rd -gltCode 18 'GROUP : 1*Main -1*Control TASK : 1*Language VISIT : 1*3rd' \
-dataTable \
Subj GROUP TASK VISIT InputFile \
...

Error in seq.default(2, length(sepTerms), 2) :
wrong sign in 'by' argument
Calls: process.LME.opts -> gl_Constr -> glfConstr -> seq -> seq.default
Execution halted
-----------------------------------------------------------------------------------------------------
Subject Author Posted

3dMVM/3dLME error

Zhihao_Li August 29, 2016 09:07PM

Re: 3dMVM/3dLME error

gang August 30, 2016 01:16PM

Re: 3dMVM/3dLME error

Zhihao_Li August 30, 2016 03:06PM

Re: 3dMVM/3dLME error

gang August 30, 2016 04:31PM