Print

Print


Contrasts are created after estimation. In your mat file. You need to define each trial separately. For each condition, you list the onsets and durations for those trials. Then you setup the next conditions.

The examples on the SPM website will give you clear examples of what the mat file should look like.

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 Sun, Jan 22, 2012 at 8:27 AM, Tim Ham <[log in to unmask]> wrote:
Hi all,

This is a very basic question but I can't seem to work it out.

I have been inputing multiple conditions as separate .mat files with onsets, durations and names, for my two events 'Correct trial' and 'Incorrect trials'. I want to put it in as a contrast i.e. a single column of events where correct trials are labelled 1, errors -1 and any others are 0. How do you do this?

With thanks,

Tim