The data used in Chapter 12, Table 21

1 |

An object of class `data.frame`

with 18 rows and 5 columns.

Suppose that we are interested in comparing the effects of three drugs (A, B, and C) on aggressiveness on monkeys. To control for possible order effects, we use a Latin square design. Specifically, we suppose that six subjects are available (as we discussed in Chapter 11, a subject is actually a pair of monkeys in this design). Following the design principles outlined at the end of Chapter 11, we use a replicated Latin square design with two randomly consituted squares. Subjects are then randomly assigned to rows of the squares. The dependent measure can be thought of as the number of aggressive behvaiors engaged in during a fixed time period. Notice that each sore is a function of three possible influences: subject, time period, and treatment condition (where here is drug, with three levels, either A, B, or C).

To summarize, the data in Table 12.21 consists of hypothetical aggressiveness scores for 6 monkeys who have been exposed to three types of drugs (A, B, and C). In order to control for potential order effects, a Latin square design is utilized. In particular, two randomly constituted squares are formed with three monkeys randomly assigned to each square and also randomly assigned to the particular row of the square that assigns the order that they are exposed to treatment.

- dv
dependent variable; the number of aggressive behaviors in a time period

- subject
one pair of monkeys (6 total)

- time
time period

- cond
treatment condition

- square
a numeric vector

C12T21

Ken Kelley kkelley@nd.edu

https://designingexperiments.com/data/

Maxwell, S. E., Delaney, H. D., \& Kelley, K. (forthcoming). *Designing experiments and
analyzing data: A model comparison perspective*. (3rd ed.). Routledge.

Maxwell, S. E., Delaney, H. D., \& Kelley, K. (forthcoming). *Designing experiments and analyzing data:
A model comparison perspective* (3rd ed.). Routledge.

1 2 3 4 5 6 7 8 | ```
# Load the data
data(chapter_12_table_21)
# Or, alternatively load the data as
data(C12T21)
# View the structure
str(chapter_12_table_21)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.