[Eeglablist] MANCOVAN for ANCOVA

Eric HG erichg2013 at gmail.com
Wed Aug 25 10:52:47 PDT 2021

Dear Eeglablist,

As there is no function built into MATLAB that can perform ANCOVA, I have
been trying to use the mancovan toolbox by William Gruner:

However, the documentation is a little difficult to decipher and maybe some
of you have used it before (hence the post in the forum).

When I run the following code using the "Iris dataset":

*load fisheriris*

*[ T, p , F] = mancovan(meas(:,3), species, meas(:,1))*

I get the following two F-values:



First question: Is it correct to understand that 1) the first one is the
group comparison, which is used to understand if there is a significant
effect between groups while controlling for the effect of the covariate
while 2) the second one is the results of the covariate?

Or more simply put, is the first value usually the one used when comparing
groups in the EEG literature?

Best regards,


More information about the eeglablist mailing list