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 ‘TASKVISIT’
-wsE2
-num_glf 6
-glfLabel 1 Main_Video_Training -glfCode 1 'GROUP : 1Main TASK : Video VISIT : 12nd -11st & 13rd -11st’
-glfLabel 2 Main_Language_Training -glfCode 2 ‘GROUP : 1Main TASK : Language VISIT : 12nd -11st & 13rd -11st’
-glfLabel 3 Control_Video_Training -glfCode 3 'GROUP : 1Control TASK : Video VISIT : 12nd -11st & 13rd -11st’
-glfLabel 4 Control_Language_Training -glfCode 4 ‘GROUP : 1Control TASK : Language VISIT : 12nd -11st & 13rd -11st’
-glfLabel 5 Main-Control_Video_Training -glfCode 5 'GROUP : 1Main -1Contol TASK : Video VISIT : 12nd -11st & 13rd -11st’
-glfLabel 6 Main-Control_Language_Training -glfCode 6 'GROUP : 1Main -1Control TASK : Language VISIT : 12nd -11st & 13rd -11st’
-num_glt 18
-gltLabel 1 Main_Video_1st -gltCode 1 'GROUP : 1Main TASK : 1Video VISIT : 11st’
-gltLabel 2 Main_Video 2nd -gltCode 2 ‘GROUP : 1Main TASK : 1Video VISIT : 12nd’
-gltLabel 3 Main_Video 3rd -gltCode 3 'GROUP : 1Main TASK : 1Video VISIT : 13rd’
-gltLabel 4 Main_Language_1st -gltCode 4 ‘GROUP : 1Main TASK : 1Language VISIT : 11st’
-gltLabel 5 Main_Language 2nd -gltCode 5 'GROUP : 1Main TASK : 1Language VISIT : 12nd’
-gltLabel 6 Main_Language 3rd -gltCode 6 ‘GROUP : 1Main TASK : 1Language VISIT : 13rd’
-gltLabel 7 Control_Video_1st -gltCode 7 'GROUP : 1Control TASK : 1Video VISIT : 11st’
-gltLabel 8 Control_Video_2nd -gltCode 8 ‘GROUP : 1Control TASK : 1Video VISIT : 12nd’
-gltLabel 9 Control_Video_3rd -gltCode 9 'GROUP : 1Control TASK : 1Video VISIT : 13rd’
-gltLabel 10 Control_Language_1st -gltCode 10 ‘GROUP : 1Control TASK : 1Language VISIT : 11st’
-gltLabel 11 Control_Language_2nd -gltCode 11 'GROUP : 1Control TASK : 1Language VISIT : 12nd’
-gltLabel 12 Control_Language_3rd -gltCode 12 ‘GROUP : 1Control TASK : 1Language VISIT : 13rd’
-gltLabel 13 Main-Control_Video_1st -gltCode 13 'GROUP : 1Main -1Control TASK : 1Video VISIT : 11st’
-gltLabel 14 Main-Control_Video_2nd -gltCode 14 'GROUP : 1Main -1Control TASK : 1Video VISIT : 12nd’
-gltLabel 15 Main-Control_Video_3rd -gltCode 15 'GROUP : 1Main -1Control TASK : 1Video VISIT : 13rd’
-gltLabel 16 Main-Control_Language_1st -gltCode 16 'GROUP : 1Main -1Control TASK : 1Language VISIT : 11st’
-gltLabel 17 Main-Control_Language_2nd -gltCode 17 'GROUP : 1Main -1Control TASK : 1Language VISIT : 12nd’
-gltLabel 18 Main-Control_Language_3rd -gltCode 18 'GROUP : 1Main -1Control TASK : 1Language 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 ‘GROUPTASKVISIT’
-ranEff ‘~1’
-SS_type 3
-num_glf 6
-glfLabel 1 Main_Video_Training -glfCode 1 ‘GROUP : 1Main TASK : Video VISIT : 12nd -11st & 13rd -11st’
-glfLabel 2 Main_Language_Training -glfCode 2 'GROUP : 1Main TASK : Language VISIT : 12nd -11st & 13rd -11st’
-glfLabel 3 Control_Video_Training -glfCode 3 ‘GROUP : 1Control TASK : Video VISIT : 12nd -11st & 13rd -11st’
-glfLabel 4 Control_Language_Training -glfCode 4 'GROUP : 1Control TASK : Language VISIT : 12nd -11st & 13rd -11st’
-glfLabel 5 Main-Control_Video_Training -glfCode 5 ‘GROUP : 1Main -1Contol TASK : Video VISIT : 12nd -11st & 13rd -11st’
-glfLabel 6 Main-Control_Language_Training -glfCode 6 ‘GROUP : 1Main -1Control TASK : Language VISIT : 12nd -11st & 13rd -11st’
-num_glt 18
-gltLabel 1 Main_Video_1st -gltCode 1 ‘GROUP : 1Main TASK : 1Video VISIT : 11st’
-gltLabel 2 Main_Video 2nd -gltCode 2 'GROUP : 1Main TASK : 1Video VISIT : 12nd’
-gltLabel 3 Main_Video 3rd -gltCode 3 ‘GROUP : 1Main TASK : 1Video VISIT : 13rd’
-gltLabel 4 Main_Language_1st -gltCode 4 'GROUP : 1Main TASK : 1Language VISIT : 11st’
-gltLabel 5 Main_Language 2nd -gltCode 5 ‘GROUP : 1Main TASK : 1Language VISIT : 12nd’
-gltLabel 6 Main_Language 3rd -gltCode 6 'GROUP : 1Main TASK : 1Language VISIT : 13rd’
-gltLabel 7 Control_Video_1st -gltCode 7 ‘GROUP : 1Control TASK : 1Video VISIT : 11st’
-gltLabel 8 Control_Video_2nd -gltCode 8 'GROUP : 1Control TASK : 1Video VISIT : 12nd’
-gltLabel 9 Control_Video_3rd -gltCode 9 ‘GROUP : 1Control TASK : 1Video VISIT : 13rd’
-gltLabel 10 Control_Language_1st -gltCode 10 'GROUP : 1Control TASK : 1Language VISIT : 11st’
-gltLabel 11 Control_Language_2nd -gltCode 11 ‘GROUP : 1Control TASK : 1Language VISIT : 12nd’
-gltLabel 12 Control_Language_3rd -gltCode 12 'GROUP : 1Control TASK : 1Language VISIT : 13rd’
-gltLabel 13 Main-Control_Video_1st -gltCode 13 ‘GROUP : 1Main -1Control TASK : 1Video VISIT : 11st’
-gltLabel 14 Main-Control_Video_2nd -gltCode 14 ‘GROUP : 1Main -1Control TASK : 1Video VISIT : 12nd’
-gltLabel 15 Main-Control_Video_3rd -gltCode 15 ‘GROUP : 1Main -1Control TASK : 1Video VISIT : 13rd’
-gltLabel 16 Main-Control_Language_1st -gltCode 16 ‘GROUP : 1Main -1Control TASK : 1Language VISIT : 11st’
-gltLabel 17 Main-Control_Language_2nd -gltCode 17 ‘GROUP : 1Main -1Control TASK : 1Language VISIT : 12nd’
-gltLabel 18 Main-Control_Language_3rd -gltCode 18 ‘GROUP : 1Main -1Control TASK : 1Language VISIT : 13rd’
-dataTable
Subj GROUP TASK VISIT InputFile
…