With two groups the F-contrast should be:
[1 -1 -1 1]
 
This assumes the order of columns is: G1S1, G1S2, G2S1, G2S2, 

With three groups, the F-contrast should be:

[1 -1 - 1 1 0 0
0 0 1 -1 -1 1]

This assumes the order of columns is: G1S1, G1S2, G2S1, G2S2, G3S1, G3S2


Best Regards, Donald McLaren
=================
D.G. McLaren, Ph.D.
Research Fellow, Department of Neurology, Massachusetts General Hospital and
Harvard Medical School
Postdoctoral Research Fellow, GRECC, Bedford VA
Website: http://www.martinos.org/~mclaren
Office: (773) 406-2464
=====================
This e-mail contains CONFIDENTIAL INFORMATION which may contain PROTECTED
HEALTHCARE INFORMATION and may also be LEGALLY PRIVILEGED and which is
intended only for the use of the individual or entity named above. If the
reader of the e-mail is not the intended recipient or the employee or agent
responsible for delivering it to the intended recipient, you are hereby
notified that you are in possession of confidential and privileged
information. Any unauthorized use, disclosure, copying or the taking of any
action in reliance on the contents of this information is strictly
prohibited and may be unlawful. If you have received this e-mail
unintentionally, please immediately notify the sender via telephone at (773)
406-2464 or email.


On Thu, Jul 10, 2014 at 12:32 PM, MRI Study <[log in to unmask]> wrote:
Dear spm-list,

I have built a flexible factorial design for two groups with two sessions (G1S1, G1S2, G2S1, G2S2) and fiven the following f-contrast weights for the interaction Group x Session:

[1 -1 -1 1
-1 1 1 -1]

Now I would like to add a third group to the design, so it would be G1S1, G1S2, G2S1, G2S2, G3S1, G3S2. Im leaving out the main effects on purpose, so I would just like to model the interaction.

I'm not sure how to define the contrast weights though. Could somebody help me? Thanks!