Hi
can someone help me with my 3dLME issue?
I have an experiment where each subject performs 2 conditions - each having 2 levels. I also have 2 groups. I want to use 3dLME, with age as a covariate. We want to model for diagnosis (ADHD NT), age + load (3 and 4) and direction (forward and backward). We wanted to look at fixed effects of diagnosis, age, load, direction, and their interactions and random intercept and slope for subject.
I wrote the script below for this. Though it tested okay script tool, it hangs at model specification. So I also tried -ranEff ‘Subj’ and this gives me an error saying the Variable Subj was not found (But I copied the name from the data table). What am I missing?
3dLME -prefix ${output} -jobs 5
-model ‘DxDirectionNumberAge’
-ranEff ‘~1+Subj’
-SS_type 3
-num_glt 48
-qVars ‘Age’
-gltLabel 1 ADHDvTD_BackvForw -gltCode 1 'Dx : 1ADHD -1TD Direction : -1Forward 1Backward’
-gltLabel 2 ADHDvTD_4sv3s -gltCode 2 'Dx : 1ADHD -1TD Number : -1Three 1Four’
-gltLabel 3 inForw_ADHDvTD -gltCode 3 'Direction : 1Forward Dx : 1ADHD -1TD’
-gltLabel 4 inBack_ADHDvTD -gltCode 4 ‘Direction : 1Backward Dx : 1ADHD -1TD’
-gltLabel 5 in4s_ADHDvTD -gltCode 5 'Number : 1Four Dx : 1ADHD -1TD’
-gltLabel 6 in3s_ADHDvTD -gltCode 6 ‘Number : 1Three Dx : 1ADHD -1TD’
-gltLabel 7 inForw3_ADHDvTD -gltCode 7 'Direction : 1Forward Number : 1Three Dx : 1ADHD -1TD’
-gltLabel 8 inForw4_ADHDvTD -gltCode 8 'Direction : 1Forward Number : 1Four Dx : 1ADHD -1TD’
-gltLabel 9 inBack3_ADHDvTD -gltCode 9 'Direction : 1Backward Number : 1Three Dx : 1ADHD -1TD’
-gltLabel 10 inBack4_ADHDvTD -gltCode 10 'Direction : 1Backward Number : 1Four Dx : 1ADHD -1TD’
-gltLabel 11 InForward_ADHDvTD_4sv3s -gltCode 11 'Direction : 1Forward Number : -1Three 1Four Dx : 1ADHD -1TD’
-gltLabel 12 InBackward_ADHDvTD_4sv3s -gltCode 12 ‘Direction : 1Backward Number : -1Three 1Four Dx : 1ADHD -1TD’
-gltLabel 13 In3s_ADHDvTD_BackvForw -gltCode 13 'Direction : -1Forward 1Backward Number : 1Three Dx : 1ADHD -1TD’
-gltLabel 14 In4s_ADHDvTD_BackvForw -gltCode 14 ‘Direction : -1Forward 1Backward Number : 1Four Dx : 1ADHD -1TD’
-gltLabel 15 Age_BvF -gltCode 15 'Direction : -1Forward 1Backward Age :’
-gltLabel 16 Age_4v3 -gltCode 16 'Number : -1Three 1Four Age :’
-gltLabel 17 Age_TD_BvF -gltCode 17 'Dx : 1TD Direction : -1Forward 1Backward Age :’
-gltLabel 18 Age_AD_BvF -gltCode 18 ‘Dx : 1ADHD Direction : -1Forward 1Backward Age :’
-gltLabel 19 Age_TD_4v3 -gltCode 19 'Dx : 1TD Number : -1Four 1Three Age :’
-gltLabel 20 Age_AD_4v3 -gltCode 20 ‘Dx : 1ADHD Number : -1Four 1Three Age :’
-gltLabel 21 InADHD_BackvForw -gltCode 21 'Dx : 1ADHD Direction : -1Forward 1Backward’
-gltLabel 22 InADHD_4sv3s -gltCode 22 ‘Dx : 1ADHD Number : -1Three 1Four’
-gltLabel 23 InTD_BackvForw -gltCode 23 'Dx : 1TD Direction : -1Forward 1Backward’
-gltLabel 24 InTD_4sv3s -gltCode 24 ‘Dx : 1TD Number : -1Three 1Four’
-gltLabel 25 InADHD_F_4v3 -gltCode 25 'Dx : 1ADHD Direction : 1Forward Number : -1Three 1Four’
-gltLabel 26 InADHD_B_4v3 -gltCode 26 'Dx : 1ADHD Direction : 1Backward Number : -1Three 1Four’
-gltLabel 27 InADHD_3_BvF -gltCode 27 'Dx : 1ADHD Number : 1Three Direction : -1Forward 1Backward’
-gltLabel 28 InADHD_4_BvF -gltCode 28 'Dx : 1ADHD Number : 1Four Direction : -1Forward 1Backward’
-gltLabel 29 InTD_F_4v3 -gltCode 29 'Dx : 1TD Direction : 1Forward Number : -1Three 1Four’
-gltLabel 30 InTD_B_4v3 -gltCode 30 'Dx : 1TD Direction : 1Backward Number : -1Three 1Four’
-gltLabel 31 InTD_3_BvF -gltCode 31 'Dx : 1TD Number : 1Three Direction : -1Forward 1Backward’
-gltLabel 32 InTD_4_BvF -gltCode 32 'Dx : 1TD Number : 1Four Direction : -1Forward 1Backward’
-gltLabel 33 InADHD_Forward -gltCode 33 'Dx : 1ADHD Direction : 1Forward’
-gltLabel 34 InADHD_Backward -gltCode 34 'Dx : 1ADHD Direction : 1Backward’
-gltLabel 35 InADHD_3s -gltCode 35 'Dx : 1ADHD Number : 1Three’
-gltLabel 36 InADHD_4s -gltCode 36 'Dx : 1ADHD Number : 1Four’
-gltLabel 37 InADHD_Forward3 -gltCode 37 'Dx : 1ADHD Number : 1Three Direction : 1Forward’
-gltLabel 38 InADHD_Forward4 -gltCode 38 ‘Dx : 1ADHD Number : 1Four Direction : 1Forward’
-gltLabel 39 InADHD_Backward3 -gltCode 39 'Dx : 1ADHD Number : 1Three Direction : 1Backward’
-gltLabel 40 InADHD_Backward4 -gltCode 40 ‘Dx : 1ADHD Number : 1Four Direction : 1Backward’
-gltLabel 41 InTD_Forward -gltCode 41 'Dx : 1TD Direction : 1Forward’
-gltLabel 42 InTD_Backward -gltCode 42 'Dx : 1TD Direction : 1Backward’
-gltLabel 43 InTD_3s -gltCode 43 'Dx : 1TD Number : 1Three’
-gltLabel 44 InTD_4s -gltCode 44 'Dx : 1TD Number : 1Four’
-gltLabel 45 InTD_Forward3 -gltCode 45 'Dx : 1TD Number : 1Three Direction : 1Forward’
-gltLabel 46 InTD_Forward4 -gltCode 46 ‘Dx : 1TD Number : 1Four Direction : 1Forward’
-gltLabel 47 InTD_Backward3 -gltCode 47 'Dx : 1TD Number : 1Three Direction : 1Backward’
-gltLabel 48 InTD_Backward4 -gltCode 48 ‘Dx : 1TD Number : 1Four Direction : 1*Backward’
-dataTable
Subj Dx Age Direction Number InputFile
MS1049 ADHD 16 Backward Four stats.ForvBack.all2mm.instruct6s.MS1049+tlrc’[10]’ \