MATLAB function to perform an unbalanced anova

Hi everybody,
I'm trying to do an 2-way repeated measures ANOVA with uneven number of subjects in each group (more pre than post measurements). The number of data point is like this:
Pre-group 1 (n=22), Post-group 1 (n = 22),
Pre-group 2 (n=22), Post-group 2 (n=16),
Pre-group 3 (n = 22), Post-group 3 (n = 13),
Pre-group 4 (n = 22), Post-group 4 (n = 18).
I have tried to use the function called rm_anova2 ( http://www.mathworks.com/matlabcentral/fileexchange/6874-two-way-repeated-measures-anova/content/rm_anova2.m ) but it doesn't work.
Does anyone know of a function that is able to perform this kind of analysis?
Best,
Eric

Respuestas (1)

Brendan Hamm
Brendan Hamm el 11 de Feb. de 2016

1 voto

You can do this with anovan.

3 comentarios

CN
CN el 4 de En. de 2017
Can anovan account for variable data within the groups? Or can it only return values when the arrays are exactly matched?
Brendan Hamm
Brendan Hamm el 4 de En. de 2017
What do you mean by variable data within the groups?
Amberle McKee
Amberle McKee el 28 de Mzo. de 2019
Can anovan account for unbalanced data within groups; if you have different sample sizes in each group?

Iniciar sesión para comentar.

Categorías

Preguntada:

el 10 de Feb. de 2016

Comentada:

el 28 de Mzo. de 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by