I wouldn't worry about the factors part. Just specify the conditions.
Here is some code that should help.
Download the tutorial Attention dataset from the SPM website. Also
download All*.tar from
The attached files are also required.
Remember to make sure the downloaded files are in the matlab path.
The names of the three conditions are: NoAtten, Attention, and
Stationary. Here is an example of the Contrasts field structure. Make
this for all 26 combinations of conditions including compared against
fixation (use 'none').
Best Regards, Donald McLaren
D.G. McLaren, Ph.D.
Postdoctoral Research Fellow, GRECC, Bedford VA
Research Fellow, Department of Neurology, Massachusetts General Hospital and
Harvard Medical School
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, Jun 30, 2011 at 6:16 PM, Gina Joue <[log in to unmask]> wrote:
> As a related follow-up question: how are the factors and levels which you specify in the factorial design linked to the conditions and onsets? Does SPM match them automatically based on the order in which the conditions and the factors in the model are specified?