Learn R Programming

BSDA (version 1.01)

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

Description

Data for Exercise 7.54

Usage

Twin

Arguments

Format

A data frame with 9 observations on the following 3 variables.

TwinA

a numeric vector

TwinB

a numeric vector

differ

a numeric vector

Examples

Run this code
# NOT RUN {
str(Twin)
attach(Twin)
qqnorm(differ)
qqline(differ)
shapiro.test(differ)
t.test(TwinA,TwinB,paired=TRUE)
detach(Twin)
# }

Run the code above in your browser using DataLab