Hi there,
When I do 1 sample or 2 sample t-tests in dpabi with demo data it works fine but when I try paired t-test it produces following error:
Error using .*
Array dimensions must match for binary array op.
Error in y_GroupAnalysis_Image (line 58)
MaskData = any(DependentVolume,4) .* MaskData; % skip the voxels with all
zeros
Error in y_TTestPaired_Image (line 73)
[b_OLS_brain, t_OLS_brain, TTestPaired_T, r_OLS_brain, Header] =
y_GroupAnalysis_Image(DependentVolume,Regressors,OutputName,MaskFile,CovariateVolume,Contrast,'T',0,Header);
Error in DPABI_STAT_TOOL>ComputeButton_Callback (line 497)
y_TTestPaired_Image(S, OutputName, MaskFile, ImageCell, TextCell);
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in DPABI_STAT_TOOL (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in
@(hObject,eventdata)DPABI_STAT_TOOL('ComputeButton_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating uicontrol Callback
Can anyone tell me where it's going wrong?
Thanks,
Pritha
Here is the sreen shot of the error