Learn R Programming

BSDA (version 1.2.0)

Coffee: Productivity of workers with and without a coffee break

Description

Data for Exercise 7.55

Usage

Coffee

Arguments

Format

A data frame/tibble with nine observations on three variables

without

workers' productivity scores without a coffee break

with

workers' productivity scores with a coffee break

differences

with minus without

References

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

Examples

Run this code
# NOT RUN {
qqnorm(Coffee$differences)
qqline(Coffee$differences)
shapiro.test(Coffee$differences)
t.test(Coffee$with, Coffee$without, paired = TRUE, alternative = "greater")
wilcox.test(Coffee$with, Coffee$without, paired = TRUE, 
alterantive = "greater")

# }

Run the code above in your browser using DataLab