Preparation of the data for N-Way ANOVA

3 次查看(过去 30 天)

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

回答(1 个)

Bernhard Suhm
Bernhard Suhm 2018-4-22
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).

类别

Help CenterFile Exchange 中查找有关 Analysis of Variance and Covariance 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by