help
help > RE: Same results with and without PM
Jul 3, 2016 01:07 PM | Donald McLaren
RE: Same results with and without PM
I believe that you need to change:
P.Contrasts(2).l.Contrail.L={'taskxLOAD^1'};
to
P.Contrasts(2).Contrail.L={'xLOAD^1'};
If you look at the current contrasts, you will notice that the contrast vectors are the same. With the above change, you should get two different contrasts.
Best,
Donald
Originally posted by Rebecca Rebi:
P.Contrasts(2).l.Contrail.L={'taskxLOAD^1'};
to
P.Contrasts(2).Contrail.L={'xLOAD^1'};
If you look at the current contrasts, you will notice that the contrast vectors are the same. With the above change, you should get two different contrasts.
Best,
Donald
Originally posted by Rebecca Rebi:
Hello,
I want to study the effect of a PM (level of load) on PPI. The conditions are: active task, passive viewing and response. The active task has 4 levels of load. However, when I set the contrasts for active tasks with and without PM, I get exactly the same images. Can you tell me if I'm doing something wrong? Thanks a lot!
I want to study the effect of a PM (level of load) on PPI. The conditions are: active task, passive viewing and response. The active task has 4 levels of load. However, when I set the contrasts for active tasks with and without PM, I get exactly the same images. Can you tell me if I'm doing something wrong? Thanks a lot!
P.subject='Sub1';
P.directory=['E:\fMRI\Sub1\stat'];
P.VOI=['E:\fMRI\Sub1\stat\VOI_1.mat'];
P.Region='PC';
P.analysis='psy';
P.method='cond';
P.VOI=['E:\fMRI\Sub1\stat\VOI_1.mat'];
P.Region='PC';
P.analysis='psy';
P.method='cond';
P.extract='eig';
P.Estimate=1;
P.contrast=0;
P.Estimate=1;
P.contrast=0;
P.Tasks={'1' 'task' 'passive view'
'response'};
P.Weights=[];
P.equalroi=1;
P.FLmask=0;
P.CompContrasts=1;
P.Weights=[];
P.equalroi=1;
P.FLmask=0;
P.CompContrasts=1;
% Contrast for task PPI
P.Contrasts(1).name='task';
P.Contrasts(1).left={ 'task' };
P.Contrasts(1).right={ 'none' };
P.Contrasts(1).MinEvents=30;
P.Contrasts(1).STAT='T';
P.Contrasts(1).name='task';
P.Contrasts(1).left={ 'task' };
P.Contrasts(1).right={ 'none' };
P.Contrasts(1).MinEvents=30;
P.Contrasts(1).STAT='T';
% Contrast for task PPI with modulator
P.Contrasts(2).name='load regressor';
P.Contrasts(2).left={ 'task' };
P.Contrasts(2).right={ 'none' };
P.Contrasts(2).MinEvents=30;
P.Contrasts(2).STAT='T';
P.Contrasts(2).l.Contrail.L={'taskxLOAD^1'}; % taken from SPM.Sess([sesssion]).U(condition).P.name.
P.Contrasts(2).name='load regressor';
P.Contrasts(2).left={ 'task' };
P.Contrasts(2).right={ 'none' };
P.Contrasts(2).MinEvents=30;
P.Contrasts(2).STAT='T';
P.Contrasts(2).l.Contrail.L={'taskxLOAD^1'}; % taken from SPM.Sess([sesssion]).U(condition).P.name.
PPPI(P);
Threaded View
Title | Author | Date |
---|---|---|
Rebecca Rebi | Jun 29, 2016 | |
Donald McLaren | Jul 3, 2016 | |
Rebecca Rebi | Jul 21, 2016 | |