Print

Print


Dear Paul,

> I have a simple contrast question. I have a paradigm wiht 3 conditions
> (a, b, ab). If I set a contrast of -1 -1 1 does this show me the areas
> where ab>a+b? If not what does this contrast represent?

The contrast [-1 -1 2] would show you, where ab>a+b, i.e. where ab has a
larger effect than the averaged effect due to a and b.

> 
> I also have a programing question. When attempting to plot "contasts of
> parameter estimates" I am not able to view or choose from all contrasts.
> I have a data set with about 50 contrasts and I am only able to choose
> from those that fit on the screen. If I type the contrast number, SPM
> only allows me to enter 1-9. Is there any way to plot the data for
> contrasts that do not fit in the window?

Yes, there is a way around... It involves some typing:

1. Change line 213 in spm_graph.m from
Ic    = spm_input('Which contrast?','!+1','m',{xCon.name});

to 

Ic    = spm_input('Which contrast?','+1','m',{xCon.name});

2. Before plotting type in the matlab window
global CMDLINE
CMDLINE = 1

The first action makes sure that you can get into command line mode and
the second actually activates the command line mode.

Stefan
-- 
Stefan Kiebel
Functional Imaging Laboratory
Wellcome Dept. of Cognitive Neurology
12 Queen Square
WC1N 3BG London, UK
Tel.: +44-(0)20-7833-7478
FAX :          -7813-1420
email: [log in to unmask]


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%