chapter_1_table_1: The data used in Chapter 1, Table 1

Description Usage Format Variables Synonym Author(s) Source References Examples

Description

Assume that a developmental psychologist is interested in whether brief training can improve performance of 2-year-old children on a test of mental abilities. The test selected is the Mental Scale of the Bayley Scales of Infant Development, which yields a mental age in months. To increase the sensitivity of the experiment, the psychologist decides to rectruit sets of twins and randomly assigns one member of each pair to the treatment condition. The treatment consists of simply watching a videotape of another child attempting to perform tasks similar to those making up the Bayley Mental Scale. The other member of each pair plays in a waiting area as a time-filling activity while the first is viewing the videotape. Then both children are individually given the Bayley by a tester who is blind to their assigned conditions. A different set of twins takes part in the experiment each day, Monday through Friday, and the experiment extends over a 2-week period. Table 1.1 shows the data for the study in the middle columns.

Usage

1

Format

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

Variables

treat

scores for the treatment group

control

scores for the control group

week

identifies the week

Synonym

C1T1

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# Load the data
data(chapter_1_table_1)

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

# View the structure
str(chapter_1_table_1)

chapter_1_table_1$Difference <- chapter_1_table_1$treat - chapter_1_table_1$control

# Summaries by week.
summary(chapter_1_table_1[chapter_1_table_1$week==1,])
summary(chapter_1_table_1[chapter_1_table_1$week==2,])

AMCP documentation built on July 25, 2020, 1:07 a.m.