Learn R Programming

BSDA (version 1.01)

Habits: Study habits of students in two matched school districts

Description

Data for Exercise 7.57

Usage

Habits

Arguments

Format

A data frame with 11 observations on the following 4 variables.

A

a numeric vector

B

a numeric vector

differ

a numeric vector

signrks

a numeric vector

Examples

Run this code
# NOT RUN {
str(Habits)
attach(Habits)
qqnorm(differ)
qqline(differ)
shapiro.test(differ)
t.test(B,A,paired=TRUE,alternative="less")
wilcox.test(B,A,paired=TRUE,alternative="less")
detach(Habits)
# }

Run the code above in your browser using DataLab