How to make a matrix for mixed anova

3 views (last 30 days)
Pushti Shah
Pushti Shah on 29 Jun 2023
Answered: Sara Boznik on 29 Jun 2023
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?

Answers (1)

Sara Boznik
Sara Boznik on 29 Jun 2023
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.

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!