# [R] aov for a split plot design

rab rab at nauticom.net
Wed Mar 13 02:45:29 CET 2002

```I have data with factor A between subjects and factors B*C within
subjects. The data are taken from an example in Kirk:

> kirk.sp
subject A B C response
1        1 1 1 1        3
2        1 1 1 2        4
3        1 1 2 1        7
4        1 1 2 2        7
5        2 1 1 1        6
6        2 1 1 2        5
7        2 1 2 1        8
8        2 1 2 2        8
9        3 1 1 1        3
10       3 1 1 2        4
11       3 1 2 1        7
12       3 1 2 2        9
13       4 1 1 1        3
14       4 1 1 2        3
15       4 1 2 1        6
16       4 1 2 2        8
17       5 2 1 1        1
18       5 2 1 2        2
19       5 2 2 1        5
20       5 2 2 2       10
21       6 2 1 1        2
22       6 2 1 2        3
23       6 2 2 1        6
24       6 2 2 2       10
25       7 2 1 1        2
26       7 2 1 2        4
27       7 2 2 1        5
28       7 2 2 2        9
29       8 2 1 1        2
30       8 2 1 2        3
31       8 2 2 1        6
32       8 2 2 2       11

There are eight subjects, 2 levels of A, 2 levels of B and 2 levels of C.

How does one set up the formula in aov to properly analyze this data?
I've tried various representation using the Error function and nesting
but I can't duplicate the analysis shown in Kirk (1968, p. 302,
Experimental Design).

I would greatly appreciate any insights. I've looked at other split plot
designs in V&R but can't translate it.

Rick Bilonick

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

```