LIMO-EEG-Toolbox / limo_tools

Hierarchical Linear Modelling for MEEG data
https://limo-eeg-toolbox.github.io/limo_meeg/
Other
59 stars 27 forks source link

Factors interactions with group in Repeated Measures Anova BUG #9

Closed disbeat closed 6 years ago

disbeat commented 6 years ago

File: limo_random_roboust.m Line: 1363

H0_Rep_ANOVA_Interaction_with_gp = squeeze(tmp_boot_H0_Rep_ANOVA_Interaction_with_gp(:,:,i,:)); % save each interaction effect as F/p values

tmp_boot_H0_Rep_ANOVA_Interaction_with_group is of dimension [electrodes, timesamples, factor, 2(F/p), NBOOT] so it is missing a dimension in the squeeze. Should be:

H0_Rep_ANOVA_Interaction_with_gp = squeeze(tmp_boot_H0_Rep_ANOVA_Interaction_with_gp(:,:,i,:,:));

Best regards, -- Marco Simões IBILI, University of Coimbra, Portugal

CPernet commented 6 years ago

fixed thx