Hi Ruiwang, I don't have such code (yet), but you might sniff around Dimitrios Pantazis stuff: http://neuroimage.usc.edu/pantazis/ppt/ISBI2004morphometry.ppt http://neuroimage.usc.edu/pantazis/researchOverview.html Donna On 11/06/2007 03:47 AM, R Huang wrote: > Dear All > > Does anyone know how to perform permutation t-test (or randomise t-test) for > two vectors? or where I can find the matlab code to perform the permutation > t-test? > > The aim is check the asymmetry of the hemispehre. The detail is here. I have > two vectors describing two ROIs loacated in the different hemispheres (for > 16 subjects), for example, > > L = Signal_Area_LeftHemisphere > =[16, 12, 14, 12, 16, 12, 14, 16, 18, 12, 18, 18, 20, 18, 14, 10]; > > R = Signal_Area_RightHemisphere > =[ 18, 16, 16, 10, 18, 10, 22, 16, 12, 14, 14, 18, 12, 16, 18, 10]. > > I want to have p-value or t-score distribution from the two datasets (L and > R) in order to determine whether the two ROIs have significant differnt or not. > > Any suggestions or comments please > > Many thank in advance > > Ruiwang > >