Rest 2 sample T test error

Submitted by yhcha@mednet.u… on
Hi everyone, With great help from this forum, I was able to get the first level analsysis done through DPARSF. I am trying to do a two sample T test with 5 patients and 5 controls. I add an age text file as the covariate. I get this error message below. Thanks for your help in getting past this hurdle. Yoon-Hee Read 3D EPI functional images: "C:\Documents and Settings\Administrator\Desktop\CM5Analysis\MdDSResults"... Image Files in Group 1: ROI1FCMap_MdDSACrest.img ROI1FCMap_MdDSDCrest.img ROI1FCMap_MdDSJC2rest.img ROI1FCMap_MdDSJNrest.img ROI1FCMap_MdDSJSrest.img zROI1FCMap_MdDSACrest.img zROI1FCMap_MdDSDCrest.img zROI1FCMap_MdDSJC2rest.img zROI1FCMap_MdDSJNrest.img zROI1FCMap_MdDSJSrest.img Read 3D EPI functional images: "C:\Documents and Settings\Administrator\Desktop\CM5Analysis\CTRLResults"... Image Files in Group 2: ROI1FCMap_CTRLCLrest.img ROI1FCMap_CTRLJWrest.img ROI1FCMap_CTRLMArest.img ROI1FCMap_CTRLMKrest.img ROI1FCMap_CTRLYMrest.img zROI1FCMap_CTRLCLrest.img zROI1FCMap_CTRLJWrest.img zROI1FCMap_CTRLMArest.img zROI1FCMap_CTRLMKrest.img zROI1FCMap_CTRLYMrest.img ??? Index exceeds matrix dimensions. Error in ==> rest_ttest2cov_Image at 55 OtherCovariatesMatrix=[OtherCovariatesMatrix;OtherCovariates{i}]; Error in ==> rest_ttest2cov_gui>btnCompute_Callback at 132 rest_ttest2cov_Image(DependentDirs,OutputName,... Error in ==> gui_mainfcn at 96 feval(varargin{:}); Error in ==> rest_ttest2cov_gui at 27 gui_mainfcn(gui_State, varargin{:}); ??? Error while evaluating uicontrol Callback

YAN Chao-Gan

Tue, 05/03/2011 - 08:38

In the current version, you need to add two AGE Covariates text files for the two groups. E.g. MdDS_Age.txt and CTRL_Age.txt Best wishes!
Forums