Twin {BSDA}R Documentation

Intelligence test scores for identical twins in which one twin is given a drug

Description

Data for Exercise 7.54

Usage

Twin

Format

A data frame/tibble with nine observations on three variables

twinA

score on intelligence test without drug

twinB

score on intelligence test after taking drug

differ

twinA - twinB

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples


qqnorm(Twin$differ)
qqline(Twin$differ)
shapiro.test(Twin$differ)
t.test(Twin$twinA, Twin$twinB, paired = TRUE)


[Package BSDA version 1.2.0 Index]