Hello, I am new to AFNI and am trying to test whether pre- to post-treatment change in anxiety is correlated with change in seed-based resting state connectivity pre- to post-treatment. I set up the following model, but when I try to run it I get the following error "Incorrect level coding in variable session : T2"
Any help would be much appreciated!!
3dLME -prefix Anxiety1 -jobs 1 \
-model "Session*Anxiety" \
-qVars "Anxiety" \
-qVarCenters "31.40" \
-ranEff '~1+Anxiety' \
-SS_type 3 \
-num_glt 3 \
-gltLabel 1 'T1' -gltCode 1 'Session : -1*T1' \
-gltLabel 2 'T2' -gltCode 2 'Session : 1*T2' \
-gltLabel 3 'T1-Anxiety' -gltCode 3 'Session : -1*T1 Anxiety :' \
-num_glf 1 \
-glfLabel 1 'Session_Anxiety' -glfCode 1 'Session : -1*T1 1*T2 Anxiety :' \
-dataTable \
Subj Session Anxiety InputFile \
04027 T1 45 /Applications/freesurfer/Study1/subs/04027_pre/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T1#0_Coef]' \
04034 T1 31 /Applications/freesurfer/Study1/subs/04034_pre/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T1#0_Coef]' \
04035 T1 40 /Applications/freesurfer/Study1/subs/04035_pre/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T1#0_Coef]' \
04040 T1 28 /Applications/freesurfer/Study1/subs/04040_pre/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T1#0_Coef]' \
04041 T1 18 /Applications/freesurfer/Study1/subs/04041_pre/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T1#0_Coef]' \
04043 T1 26 /Applications/freesurfer/Study1/subs/04043_pre/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T1#0_Coef]' \
04054 T1 32 /Applications/freesurfer/Study1/subs/04054_pre/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T1#0_Coef]' \
04056 T1 23 /Applications/freesurfer/Study1/subs/04056_pre/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T1#0_Coef]' \
04057 T1 41 /Applications/freesurfer/Study1/subs/04057_pre/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T1#0_Coef]' \
04059 T1 29 /Applications/freesurfer/Study1/subs/04059_pre/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T1#0_Coef]' \
04060 T1 32 /Applications/freesurfer/Study1/subs/04060_pre/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T1#0_Coef]' \
04065 T1 32 /Applications/freesurfer/Study1/subs/04065_pre/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T1#0_Coef]' \
04070 T1 30 /Applications/freesurfer/Study1/subs/04070_pre/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T1#0_Coef]' \
04071 T1 28 /Applications/freesurfer/Study1/subs/04071_pre/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T1#0_Coef]' \
04072 T1 38 /Applications/freesurfer/Study1/subs/04072_pre/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T1#0_Coef]' \
04073 T1 31 /Applications/freesurfer/Study1/subs/04073_pre/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T1#0_Coef]' \
04074 T1 29 /Applications/freesurfer/Study1/subs/04074_pre/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T1#0_Coef]' \
04076 T1 42 /Applications/freesurfer/Study1/subs/04076_pre/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T1#0_Coef]' \
04079 T1 30 /Applications/freesurfer/Study1/subs/04079_pre/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T1#0_Coef]' \
04080 T1 27 /Applications/freesurfer/Study1/subs/04080_pre/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T1#0_Coef]' \
04082 T1 28 /Applications/freesurfer/Study1/subs/04082_pre/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T1#0_Coef]' \
04020 T2 18 /Applications/freesurfer/Study1/subs/04020_post/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T2#0_Coef]' \
04027 T2 15 /Applications/freesurfer/Study1/subs/04027_post/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T2#0_Coef]' \
04034 T2 33 /Applications/freesurfer/Study1/subs/04034_post/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T2#0_Coef]' \
04035 T2 11 /Applications/freesurfer/Study1/subs/04035_post/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T2#0_Coef]' \
04040 T2 20 /Applications/freesurfer/Study1/subs/04040_post/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T2#0_Coef]' \
04041 T2 35 /Applications/freesurfer/Study1/subs/04041_post/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T2#0_Coef]' \
04043 T2 28 /Applications/freesurfer/Study1/subs/04043_post/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T2#0_Coef]' \
04054 T2 50 /Applications/freesurfer/Study1/subs/04054_post/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T2#0_Coef]' \
04056 T2 25 /Applications/freesurfer/Study1/subs/04056_post/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T2#0_Coef]' \
04057 T2 22 /Applications/freesurfer/Study1/subs/04057_post/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T2#0_Coef]' \
04059 T2 23 /Applications/freesurfer/Study1/subs/04059_post/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T2#0_Coef]' \
04060 T2 19 /Applications/freesurfer/Study1/subs/04060_post/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T2#0_Coef]' \
04065 T2 19 /Applications/freesurfer/Study1/subs/04065_post/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T2#0_Coef]' \
04070 T2 33 /Applications/freesurfer/Study1/subs/04070_post/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T2#0_Coef]' \
04071 T2 11 /Applications/freesurfer/Study1/subs/04071_post/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T2#0_Coef]' \
04072 T2 17 /Applications/freesurfer/Study1/subs/04072_post/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T2#0_Coef]' \
04073 T2 21 /Applications/freesurfer/Study1/subs/04073_post/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T2#0_Coef]' \
04074 T2 31 /Applications/freesurfer/Study1/subs/04074_post/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T2#0_Coef]' \
04076 T2 39 /Applications/freesurfer/Study1/subs/04076_post/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T2#0_Coef]' \
04079 T2 20 /Applications/freesurfer/Study1/subs/04079_post/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T2#0_Coef]' \
04080 T2 24 /Applications/freesurfer/Study1/subs/04080_post/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T2#0_Coef]' \
04082 T2 17 /Applications/freesurfer/Study1/subs/04082_post/aScript_results/PCC_seed.maskConnData.Z.nii.gz'[T2#0_Coef]' \