Learn R Programming

AMCP (version 1.0.2)

chapter_14_table_8: The data used in Chapter 14, Table 8

Description

The data used in Chapter 14, Table 8

Usage

data(chapter_14_table_8)

Arguments

Format

An object of class data.frame with 20 rows and 3 columns.

Variables

angle0

participant reaction time at angle 0

angle8

participant reaction time at angle 8

group

participant age (young or old)

Synonym

C14T8

Author

Ken Kelley kkelley@nd.edu

Details

For the hypothetical data contained in Table 14.8, a perceptual psychologist is interested in age differences ("young" and "old") in reaction time on a perceptual task. In addition, the psychologist is also interested in the effect of angle (zero degrees off center and eight degrees off center). The question of interest is to see if there are is a main effect of age, a main effect of angle, and an interaction between the two. Table 14.8 presents the same data that we analyzed in chapter 12 for 10 young participants and 10 old participants, except that for the moment we are only analyzing data from the 0 degree and 8 degree conditions of the angle factor.

In any two factor design, the effects to be tested are typically the two main effects and the two-way interaction. In our example, then, we test the main effect of age (designated A), the main effect of angle (designated B), and the interaction of age and angle.

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

Run this code
# Load the data
data(chapter_14_table_8)

# Or, alternatively load the data as
data(C14T8)

# View the structure
str(chapter_14_table_8)

Run the code above in your browser using DataLab