HI Experts,
According to this webpage: [
afni.nimh.nih.gov]
3dtttest program accepts datasets that are modified on input according to the following schemes: '3dcalc( -a r1+orig -b r2+orig -expr 0.5*(a+b) )' {calculation}
With this in mind, I tried to do the t-test below, but it could not run (below is just a part of the script).
3dtttest++ -prefix ./Output_Cond/T_Test_Gain_Vs_Neutral_ShapeFixed \
-mask ../mask_overlap.7+tlrc. \
-labelA Gain_Loss \
-setA ‘3dcalc(-a /home/Test_Data/Sub1/Sub1_Shapefixed+tlrc.BRIK'[1]' -b /home/Test_Data/Sub1/Sub1_Shapefixed+tlrc.BRIK'[3]' -expr 0.5*(a+b))’
….. \
-labelB Neutral \
-setB /home/Test_Data/Sub1/Sub1_Shapefixed+tlrc.BRIK'[5]' \
….
Of course, I can do this step by step: first do the 3dcalc, then do this 3dttest++. I have two questions below.
1) Does 3dtttest++ program accept datasets that are modified by 3dcalc? How should I modify it? In my case, the PATH is also inserted.
2) Now I try to compare the "[Brick (1) + Brick (3)]*0.5" and "Brick (5)". Should I go back to redo the 3dDeconvolve, by collapsing the regressor 1 and regressor 2 (i.e., they are corresponding to the Brick (1) and (3) here) as one regressor? Would the results be different? I assume it should be the same. Am I correct?
Thanks so much,
Juan
Edited 1 time(s). Last edit at 08/30/2016 09:02PM by Juan.