How to make a matrix for mixed anova

8 次查看(过去 30 天)
I am performing a mixed anova with 700 subjects, 9 tasks, and 2 between subject variables. The variables are 4 age groups and 2 gender groups. So, I have to make a 700 x 9 x 8 matrix. I have a data matrix of 700*9 with data for each subject in each task. How would I make the matrix that I need?

回答(1 个)

Sara Boznik
Sara Boznik 2023-6-29
Hi,
I dont understand, do you want to create 3D matrix? That is not possible. You already have data in matrix so you can just use: https://www.mathworks.com/help/stats/anova.html
Hope it helps.

类别

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

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by