Adding A Covariant to a 2-Way Repeated Measures ANOVA

조회 수: 4 (최근 30일)
SeanC
SeanC 2015년 2월 24일
편집: SeanC 2015년 2월 24일
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에서 ANOVA에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by