powered by
Data for Exercise 2.14, 2.17, 2.31, 2.33, and 2.40
Jdpower
A data frame/tibble with 29 observations on three variables
a factor with levels Acura, BMW, Buick, Cadillac, Chevrolet, Dodge Eagle, Ford, Geo, Honda, Hyundai, Infiniti, Jaguar, Lexus, Lincoln, Mazda, Mercedes-Benz, Mercury, Mitsubishi, Nissan, Oldsmobile, Plymouth, Pontiac, Saab, Saturn, and Subaru, Toyota Volkswagen, Volvo
Acura
BMW
Buick
Cadillac
Chevrolet
Dodge
Eagle
Ford
Geo
Honda
Hyundai
Infiniti
Jaguar
Lexus
Lincoln
Mazda
Mercedes-Benz
Mercury
Mitsubishi
Nissan
Oldsmobile
Plymouth
Pontiac
Saab
Saturn
Subaru
Toyota
Volkswagen
Volvo
number of problems per 100 cars in 1994
number of problems per 100 cars in 1995
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
# NOT RUN { model <- lm(`1995` ~ `1994`, data = Jdpower) summary(model) plot(`1995` ~ `1994`, data = Jdpower) abline(model, col = "red") rm(model) # }
Run the code above in your browser using DataLab