Description Usage Format Source Examples
These contrived repeated-measures data are taken from O'Brien and Kaiser (1985). The data are from an imaginary study in which 16 female and male subjects, who are divided into three treatments, are measured at a pretest, postest, and a follow-up session; during each session, they are measured at five occasions at intervals of one hour. The design, therefore, has two between-subject and two within-subject factors.
The contrasts for the treatment
factor are set to -2, 1, 1 and
0, -1, 1. The contrasts for the gender
factor are set to
contr.sum
.
1 |
A data frame with 16 observations on the following 17 variables.
treatment
a factor with levels control
A
B
gender
a factor with levels F
M
pre.1
pretest, hour 1
pre.2
pretest, hour 2
pre.3
pretest, hour 3
pre.4
pretest, hour 4
pre.5
pretest, hour 5
post.1
posttest, hour 1
post.2
posttest, hour 2
post.3
posttest, hour 3
post.4
posttest, hour 4
post.5
posttest, hour 5
fup.1
follow-up, hour 1
fup.2
follow-up, hour 2
fup.3
follow-up, hour 3
fup.4
follow-up, hour 4
fup.5
follow-up, hour 5
O'Brien, R. G., and Kaiser, M. K. (1985) MANOVA method for analyzing repeated measures designs: An extensive primer. Psychological Bulletin 97, 316–333, Table 7.
1 2 3 | OBrienKaiser
contrasts(OBrienKaiser$treatment)
contrasts(OBrienKaiser$gender)
|
Warning message:
no DISPLAY variable so Tk is not available
treatment gender pre.1 pre.2 pre.3 pre.4 pre.5 post.1 post.2 post.3 post.4
1 control M 1 2 4 2 1 3 2 5 3
2 control M 4 4 5 3 4 2 2 3 5
3 control M 5 6 5 7 7 4 5 7 5
4 control F 5 4 7 5 4 2 2 3 5
5 control F 3 4 6 4 3 6 7 8 6
6 A M 7 8 7 9 9 9 9 10 8
7 A M 5 5 6 4 5 7 7 8 10
8 A F 2 3 5 3 2 2 4 8 6
9 A F 3 3 4 6 4 4 5 6 4
10 B M 4 4 5 3 4 6 7 6 8
11 B M 3 3 4 2 3 5 4 7 5
12 B M 6 7 8 6 3 9 10 11 9
13 B F 5 5 6 8 6 4 6 6 8
14 B F 2 2 3 1 2 5 6 7 5
15 B F 2 2 3 4 4 6 6 7 9
16 B F 4 5 7 5 4 7 7 8 6
post.5 fup.1 fup.2 fup.3 fup.4 fup.5
1 2 2 3 2 4 4
2 3 4 5 6 4 1
3 4 7 6 9 7 6
4 3 4 4 5 3 4
5 3 4 3 6 4 3
6 9 9 10 11 9 6
7 8 8 9 11 9 8
8 5 6 6 7 5 6
9 1 5 4 7 5 4
10 8 8 8 9 7 8
11 4 5 6 8 6 5
12 6 8 7 10 8 7
13 6 7 7 8 10 8
14 2 6 7 8 6 3
15 7 7 7 8 6 7
16 7 7 8 10 8 7
[,1] [,2]
control -2 0
A 1 -1
B 1 1
[,1]
F 1
M -1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.