Learn R Programming

BSDA (version 1.2.0)

Shoplift: Sales receipts versus shoplifting losses for a department store

Description

Data for Exercise 9.58

Usage

Shoplift

Arguments

Format

A data frame/tibble with eight observations on two variables

sales

sales (in 1000 dollars)

loss

loss (in 100 dollars)

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 {
plot(loss ~ sales, data = Shoplift)
model <- lm(loss ~ sales, data = Shoplift)
summary(model)
rm(model)

# }

Run the code above in your browser using DataLab