Hi Amit I've reviewed your design and I'm not quite sure where the problem is. Is your subject factor, factor number 1? If not it should be. I set up almost exactly an equivalent model to yours with subject as factor 1 and it works fine (works mean the contrasts behave as expected). That being said I would discourage you from having a design with all the effects. It is much easier to have a design with just the subject factor and the 3 way interaction (of group, region and side in your case) and then to form all the relevant contrasts from that design. Darren > -----Original Message----- > From: Amit Etkin [mailto:[log in to unmask]] > Sent: Friday, July 11, 2008 12:50 AM > To: [log in to unmask]; Darren G > Cc: Amit Etkin > Subject: Re: setting up an ANOVA > > Darren et al., > > I apologize for being slow on this, but am still having > problems trying to specify my contrasts. I've reattached the > design matrix and list of column titles. I'm starting by just > trying to get the effect of group (as a T-test and F-test). > Based on my reading of Jan Glascher and Darren's contrast > specification PDF, I have tried to input the following > specification into the contrast manager (under either T or F > contrast), but each time am told that it's an invalid > contrast...I can't figure out why. > > Does the contrast vector below make sense? Is there some way > I'm entering it that's wrong? Should it be entered > differently for a T vs F contrast? > > 1 -1 0 0 0 0 ones(1,14)/14 -ones(1,31)/31 ones(1,2)/2 -ones(1,2)/2 > ones(1,2)/2) -ones(1,2)/2 0 0 0 0 > > The subject breakdown was 14 in group 1 and 31 in group 2. > > thanks! > > Amit > > > > 1 'Group_{1}' > > 2 'Group_{2}' > > 3 'Region_{1}' > > 4 'Region_{2}' > > 5 'Side_{1}' > > 6 'Side_{2}' > > 7 'Subject_{1}' > > 8 'Subject_{2}' > > 9 'Subject_{3}' > > 10 'Subject_{4}' > > 11 'Subject_{5}' > > 12 'Subject_{6}' > > 13 'Subject_{7}' > > 14 'Subject_{8}' > > 15 'Subject_{9}' > > 16 'Subject_{10}' > > 17 'Subject_{11}' > > 18 'Subject_{12}' > > 19 'Subject_{13}' > > 20 'Subject_{14}' > > 21 'Subject_{15}' > > 22 'Subject_{16}' > > 23 'Subject_{17}' > > 24 'Subject_{18}' > > 25 'Subject_{19}' > > 26 'Subject_{20}' > > 27 'Subject_{21}' > > 28 'Subject_{22}' > > 29 'Subject_{23}' > > 30 'Subject_{24}' > > 31 'Subject_{25}' > > 32 'Subject_{26}' > > 33 'Subject_{27}' > > 34 'Subject_{28}' > > 35 'Subject_{29}' > > 36 'Subject_{30}' > > 37 'Subject_{31}' > > 38 'Subject_{32}' > > 39 'Subject_{33}' > > 40 'Subject_{34}' > > 41 'Subject_{35}' > > 42 'Subject_{36}' > > 43 'Subject_{37}' > > 44 'Subject_{38}' > > 45 'Subject_{39}' > > 46 'Subject_{40}' > > 47 'Subject_{41}' > > 48 'Subject_{42}' > > 49 'Subject_{43}' > > 50 'Subject_{44}' > > 51 'Subject_{45}' > > 52 'Group*Region_{1,1}' > > 53 'Group*Region_{1,2}' > > 54 'Group*Region_{2,1}' > > 55 'Group*Region_{2,2}' > > 56 'Group*Side_{1,1}' > > 57 'Group*Side_{1,2}' > > 58 'Group*Side_{2,1}' > > 59 'Group*Side_{2,2}' > > 60 'Region*Side_{1,1}' > > 61 'Region*Side_{1,2}' > > 62 'Region*Side_{2,1}' > > 63 'Region*Side_{2,2}' > >