loreta2fieldtrip correction

Hanukaev Dmitri sdim14hg at T2.TECHNION.AC.IL
Sun Dec 10 14:56:00 CET 2006


Hello again

this is code we used:

clc;clear all;close all;


cond1{1}=loreta2fieldtrip('ao_low.slor');
cond1{2}=cond1{1};cond1{3}=cond1{1};cond1{4}=cond1{1};cond1{5}=cond1
{1};cond1{6}=cond1{1};
cond1{7}=cond1{1};cond1{8}=cond1{1};cond1{9}=cond1{1};cond1{10}=cond1{1};

cond2{1}=loreta2fieldtrip('ao_emotionaly.slor');
cond2{2}=cond2{1};cond2{3}=cond2{1};cond2{4}=cond2{1};cond2{5}=cond2
{1};cond2{6}=cond2{1};
cond2{7}=cond2{1};cond2{8}=cond2{1};cond2{9}=cond2{1};cond2{10}=cond2{1};
cfg.method='montecarlo';
 cfg.correctm='cluster';
  cfg.statistic= 'depsamplesT';
  cfg.parameter= 'mom';
  cfg.numrandomization=50;
  cfg.design = [1 1 1 1 1 1 1 1 1 1  2 2 2 2 2 2 2 2 2 2       
                1 2 3 4 5 6 7 8 9 10   1 2 3 4 5 6 7 8 9 10     ] ;
  
cfg.ivar = 1; % row with the independent variable (condition) in the  
design
cfg.uvar = 2; % row with the unit of observation (subject) in the  

stat = sourcestatistics(cfg, cond1{:}, cond2{:});


sincerely



More information about the fieldtrip mailing list