chapter_12_table_21 {AMCP} | R Documentation |
The data used in Chapter 12, Table 21
Description
The data used in Chapter 12, Table 21
Usage
data(chapter_12_table_21)
Format
An object of class data.frame
with 18 rows and 5 columns.
Details
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.
Variables
- 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
Synonym
C12T21
Author(s)
Ken Kelley kkelley@nd.edu
Source
https://designingexperiments.com/data/
Maxwell, S. E., Delaney, H. D., & Kelley, K. (2018). Designing experiments and analyzing data: A model comparison perspective. (3rd ed.). New York, NY: Routledge.
References
Maxwell, S. E., Delaney, H. D., & Kelley, K. (2018). Designing experiments and analyzing data: A model comparison perspective (3rd ed.). New York, NY: Routledge.
Examples
# Load the data
data(chapter_12_table_21)
# Or, alternatively load the data as
data(C12T21)
# View the structure
str(chapter_12_table_21)