Adding A Covariant to a 2-Way Repeated Measures ANOVA
4 次查看(过去 30 天)
显示 更早的评论
Hi all,
I have a 2-way repeated measures ANOVA for the following data:
1) There are 2 conditions (data for each condition is within a column) 2) There are 4 time points within each condition (data for each is a row within the matrix) 3) I have 14 repeated measures
I.e. The data is arranged as follows:
Condition 1 Observation Condition 2 Observations
Subject One Time1 Subject One Time1
Subject Two Time1 Subject Two Time1
.... .. ..... ........ ....... .
Subject One Time 2 Subject One Time 2
etc. etc.
The code is as follows:
[p,Table,stats] = anova2(Data,reps);
I would like to add a co-variate term for each subject. However the term is the same for each condition and time point (just a single measure for each subject).
I would really appreciate some advice of how to code / model this data.
Thanks
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 ANOVA 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!