Preparation of the data for N-Way ANOVA

2 visualizaciones (últimos 30 días)
Marimuthu Ananthavelu
Marimuthu Ananthavelu el 19 de Abr. de 2018
Respondida: Bernhard Suhm el 22 de Abr. de 2018

I have 3 matrices for 3 different techniques consisting of the data for 5 different frequency range of neuronal data each;

1 st matrix (Technique A) with the size of (100 x 5) 
2 nd matrix (Technique B) with the size of (50 x 5)
3 rd matrix (Technique C) with the size of (75 x 5)
whereas 5 is the different frequency range.

I refer to the documentation of 'anovan' and to the section 'preparation of the data'. However, I am bit confused about how can I do convert/combine these 3 different matrices so I can perform N-way ANOVA.

Can anyone help me understand quickly? Thanks

Respuestas (1)

Bernhard Suhm
Bernhard Suhm el 22 de Abr. de 2018
Per documentation, you provide anovan a set of measurements and multiple assignments to different groups. I'm not sure you actually need multiple ANOVA, aren't you just investigating the effect of one variable, namely the technique (A, B, or C)? If that was the case, you can simply concatenate your measurements for A, B, and C, and create a 6th column to indicate which group the observation belongs to (A,B, or C).

Community Treasure Hunt

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

Start Hunting!

Translated by