Adding A Covariant to a 2-Way Repeated Measures ANOVA

2 次查看(过去 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 个)

类别

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