Hi - I think this looks right, yes. Cheers. On 17 Jan 2011, at 09:13, 李佳佳 wrote: > Hi, FSL experts > I designed a matrix to do 2-way ANOVA, here is the situation. In my design, there are 2 factors > factor1(4 levels):disease L1 L2 L3 L4 > factor2(2 levels):gender G1 G2 > also I want to control age. > my design matrix is : > EV1 EV2 EV3 EV4 EV5 EV6 EV7 EV8 EV9 > 1 1 1 1 1 1 1 1 3 > 1 1 1 -1 -1 -1 -1 1 -5 > -1 0 0 -1 1 0 0 1 2 > -1 0 0 1 -1 0 0 1 -1 > 0 -1 0 1 0 -1 0 1 -1 > 0 -1 0 -1 0 1 0 1 4 > 0 0 -1 -1 0 0 1 1 -3 > 0 0 -1 1 0 0 -1 1 1 > > EV1:L1>L2 > EV2:L1>L3 > EV3:L1>L4 > EV4:G1>G2 > EV5,6,7:interaction effect > EV8:mean > EV9:age(demeaned) > > Is my design correct? > > Thank you. > Tina > > --------------------------------------------------------------------------- Stephen M. Smith, Professor of Biomedical Engineering Associate Director, Oxford University FMRIB Centre FMRIB, JR Hospital, Headington, Oxford OX3 9DU, UK +44 (0) 1865 222726 (fax 222717) [log in to unmask] http://www.fmrib.ox.ac.uk/~steve ---------------------------------------------------------------------------