How to make a matrix for mixed anova

3 visualizaciones (últimos 30 días)
Pushti Shah
Pushti Shah el 29 de Jun. de 2023
Respondida: Sara Boznik el 29 de Jun. de 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?

Respuestas (1)

Sara Boznik
Sara Boznik el 29 de Jun. de 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.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by