[FieldTrip] Quick question about depsamplesregrT

Eelke Spaak e.spaak at donders.ru.nl
Thu Jul 2 17:33:31 CEST 2020


Dear Lee Kyoung Eun,

ft_statfun_depsamplesregrT assigns no special meaning to the values of
your regressor, i.e. it uses them exactly as you put in. So, a
positive t-statistic reflects a positive regression coefficient, which
means the dependent variable is positively associated with the
regressor. In your case, if high=1, low=2, no=3, then a negative
cluster means no>low>high.

Best,
Eelke

On Wed, 1 Jul 2020 at 12:08, Lee, Kyoung Eun <klee773 at gatech.edu> wrote:
>
> Dear FieldTrip users,
>
>
>
> I have a simple quick question.
>
> Those are my parameters for the clustering permutation test.
>
>
>
> cfg.latency          = 'all';
>
> cfg.channel          = 'all';
>
> cfg.frequency        = 'all';
>
> cfg.avgovertime      = 'no';
>
> cfg.avgoverchan      = 'no';
>
> cfg.avgoverfreq      = 'no';
>
> cfg.method           = 'montecarlo';
>
> cfg.statistic        = 'depsamplesregrT';
>
> cfg.correctm         = 'cluster';
>
> cfg.clusteralpha     = 0.05;
>
> cfg.clusterstatistic = 'maxsum';
>
> cfg.minnbchan        = 1;
>
> cfg.tail             = 0;
>
> cfg.clustertail      = 0;
>
> cfg.alpha            = 0.025;
>
> cfg.numrandomization = 1000;
>
> cfg.parameter        = 'm';
>
>
>
> And this is my design matrix. I only have a within-subject factor (high, low, no).
>
>
>
> subj = 42;
>
> design(1,1:subj) = 1:subj; design(1,subj+1:2*subj)= 1:subj; design(1,2*subj+1:3*subj)= 1:subj;
>
> design(2,1:subj) = 1; design(2,subj+1:2*subj)= 2; design(2,2*subj+1:3*subj)= 3;
>
>
>
> cfg.design = design;
>
> cfg.ivar = 2;
>
> cfg.uvar = 1;
>
>
>
> Then, I ran the freqstatistics like this.
>
>
>
> stat = ft_freqstatistics(cfg, High, Low, No);
>
>
>
>
>
> If I found a significant negative cluster, does it mean there is a linear relationship of “high > low > no” or “no> low>high”?
>
> I always confused about the direction of the effect.
>
>
>
> Thank you so much!
>
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202



More information about the fieldtrip mailing list