help
help > RE: Contrast question
May 31, 2018 10:05 PM | Alex Rainer
RE: Contrast question
Hi Donald,
Sorry for digging up my previous old post. I finally got around to working on this again. Regarding the contrasts, I have8 conditions: cond1, cond2,.., cond8. I'd like to examine connectivity in contrast [(Cond1 - Cond2) > (Cond3 - Cond4)]. Below is the setup I have following the manual. Please let me know if the Contrast setup section looks right?
P.equalroi=0;
P.FLmask=1;
P.subject=char(subj_ID});
P.directory=pwd;
P.VOI=roi_dir;
P.Region=VOI_ID;
P.Estimate=1;
P.contrast=0;
P.extract='eig';
P.Tasks={'0' 'Cond1' 'Cond2' 'Con3' 'Cond4'...
'Cond5' 'Cond6' 'Cond7' 'Cond8'};
P.Weights=[];
P.analysis='psy';
P.method='cond';
P.CompContrasts=1;
P.Weighted=0;
P.outdir=outdir1;
P.GroupDir=outdir2;
% Contrast setup
P.Contrasts(1).left={'Con1' 'Cond2};
P.Contrasts(1).right={'Cond3' 'Cond4'};
P.Contrasts(1).STAT='T';
P.Contrasts(1).Weighted=[1 -1 -1 1];
P.Contrasts(1).MinEvents=4;
P.Contrasts(1).name='Cond1>Cond2_minus_Cond3>Cond4';
Thank you!
AR
Sorry for digging up my previous old post. I finally got around to working on this again. Regarding the contrasts, I have8 conditions: cond1, cond2,.., cond8. I'd like to examine connectivity in contrast [(Cond1 - Cond2) > (Cond3 - Cond4)]. Below is the setup I have following the manual. Please let me know if the Contrast setup section looks right?
P.equalroi=0;
P.FLmask=1;
P.subject=char(subj_ID});
P.directory=pwd;
P.VOI=roi_dir;
P.Region=VOI_ID;
P.Estimate=1;
P.contrast=0;
P.extract='eig';
P.Tasks={'0' 'Cond1' 'Cond2' 'Con3' 'Cond4'...
'Cond5' 'Cond6' 'Cond7' 'Cond8'};
P.Weights=[];
P.analysis='psy';
P.method='cond';
P.CompContrasts=1;
P.Weighted=0;
P.outdir=outdir1;
P.GroupDir=outdir2;
% Contrast setup
P.Contrasts(1).left={'Con1' 'Cond2};
P.Contrasts(1).right={'Cond3' 'Cond4'};
P.Contrasts(1).STAT='T';
P.Contrasts(1).Weighted=[1 -1 -1 1];
P.Contrasts(1).MinEvents=4;
P.Contrasts(1).name='Cond1>Cond2_minus_Cond3>Cond4';
Thank you!
AR
Threaded View
Title | Author | Date |
---|---|---|
Alex Rainer | Feb 16, 2018 | |
Donald McLaren | Feb 16, 2018 | |
Alex Rainer | May 31, 2018 | |
Donald McLaren | Jun 8, 2018 | |
Alex Rainer | Feb 21, 2018 | |
Donald McLaren | Mar 1, 2018 | |
Alex Rainer | Mar 6, 2018 | |
Donald McLaren | Mar 6, 2018 | |
Alex Rainer | Mar 6, 2018 | |
Donald McLaren | Mar 6, 2018 | |
Alex Rainer | Mar 6, 2018 | |