AFNI Message Board

History of AFNI updates  

|
September 14, 2018 01:48PM
Hello again, I'm trying to run a 2 x 3 ANOVA (using all between-subject factors) with 3dMVM, but I can't figure out how to designate gltlabels in the first few lines for the factor with three levels (NoiseLevel = quiet, enoise, noise). Based on info from the help page, I've tried the following:

#!/bin/tcsh
3dMVM -mask clippedfullmask.nii -prefix Noise -jobs 4 \
-model 1 \
-wsVars "oxy*noiseLevel" \
-num_glt 2 \
-gltLabel 1 OxyEff -gltCode 1 'oxy : 1*HbO -1*HbR' \
-gltLabel 2 NoiseLevelEff -gltCode  2 'NoiseLevel : 1*enoise +1*noise -2*quiet' \
-dataTable \

and

#!/bin/tcsh
3dMVM -mask clippedfullmask.nii -prefix Noise -jobs 4 \
-model 1 \
-wsVars "oxy*noiseLevel" \
-num_glt 2 \
-gltLabel 1 OxyEff -gltCode 1 'oxy : 1*HbO -1*HbR' \
-gltLabel 2 NoiseLevelEff -gltCode  2 'NoiseLevel : 1*quiet -1*enoise & 1*quiet -1*noise' \
-dataTable \

I get the following error:

** Error:
The number of -gltCode is not consistent with that
specified by -num_glt 2
Warning messages:
1: In grep("^-.*", args) : input string 25 is invalid in this locale
2: In grep("^\".*\"$", pp) : input string 1 is invalid in this locale
3: In grep("^'.*'$", pp) : input string 1 is invalid in this locale
4: In grep("^1D:.*$", pp) : input string 1 is invalid in this locale
5: In grep("^R:.*$", pp) : input string 1 is invalid in this locale
tcsh -x MVMnoise.txt &

Any help is appreciated, thanks again.

JD
Subject Author Posted

question about how to code MVM gltlabel 2 x 3 ANOVA

defenderfer September 14, 2018 01:48PM

Re: question about how to code MVM gltlabel 2 x 3 ANOVA

Gang September 14, 2018 05:07PM

Re: question about how to code MVM gltlabel 2 x 3 ANOVA

defenderfer September 17, 2018 01:42PM



Sorry, only registered users may post in this forum.

Click here to login