textbooks: Textbook data for UCLA Bookstore and Amazon

Description Usage Format Details Source Examples

Description

A random sample was taken of nearly 10% of UCLA courses. The most expensive textbook for each course was identified, and its new price at the UCLA Bookstore and on Amazon.com were recorded.

Usage

1

Format

A tibble with 73 observations on the following 7 variables.

dept_abbr

Course department (abbreviated).

course

Course number.

ibsn

Book ISBN.

ucla_new

New price at the UCLA Bookstore.

amaz_new

New price on Amazon.com.

more

Whether additional books were required for the course (Y means "yes, additional books were required").

diff

The UCLA Bookstore price minus the Amazon.com price for each book.

Details

The sample represents only courses where textbooks were listed online through UCLA Bookstore's website. The most expensive textbook was selected based on the UCLA Bookstore price, which may insert bias into the data; for this reason, it may be beneficial to analyze only the data where more is "N".

Source

This data was collected by David M Diez on April 24th.

Examples

1
2
3
4
5
6
library(ggplot2)

ggplot(textbooks, aes(x = diff)) +
  geom_histogram(binwidth = 5)

t.test(textbooks$diff)

OpenIntroStat/openintro-r-package documentation built on Jan. 22, 2020, 3:23 p.m.