[FieldTrip] Clustering analysis with One way ANOVA design
Beom Jun Min
mbj0310 at gmail.com
Tue Apr 29 04:40:04 CEST 2014
Dear trippers,
I am not sure about my script for one-way ANOVA design.
I have searched in the discussion list, but I cannot find.
What I want to compare is F-statistics with different three groups, not
interaction effect by now.
cfg = [];
cfg.channel = 'all';
cfg.neighbours = neighbours;
cfg.latency = [0.2 0.3];
cfg.trials = 'all';
cfg.frequency = [32 32];
cfg.avgoverchan = 'no';
cfg.avgovertime = 'no';
cfg.avgoverfreq = 'no';
cfg.parameter = 'powspctrm';
cfg.method = 'montecarlo';
cfg.statistic = 'indepsamplesF';
cfg.alpha = 0.05;
cfg.clusterstatistic = 'maxsum';
cfg.minnbchan = 2;
cfg.tail = 1;
cfg.clustertail = 1;
cfg.correctm = 'cluster';
cfg.numrandomization = 1000;
cfg.design = [ones(1,36), ones(1,34)*2, ones(1,28)*3] ; % N x num of
observations
cfg.ivar = 1;
stat = ft_freqstatistics(cfg, A_zscore{1:36}, B_zscore{1:34},
C_zscore{1:28});
Is that script right?
Especially, I am not sure that the design, and tail parameters (right-sided
tail in the code) are correct.
With regards
--
BeomJun Min, M.D.
Department of Medical System Engineering (DMSE)
Gwangju Institute of Science and Technology (GIST)
261 Cheomdan-gwagiro(Oryong-dong), Buk-gu, Gwangju
500-712, Republic of Korea (South)
Phone: +82-62-715-3266 / Fax: +82-62-715-3244
E-mail: mbj0310 at gmail.com, http://bmssa.gist.ac.kr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20140429/e41d1952/attachment.html>
More information about the fieldtrip
mailing list