powered by
Data for Exercises 2.28, 9.19, and Example 2.8
Name
A data frame/tibble with 42 observations on three variables
a factor with levels Band-Aid, Barbie, Birds Eye, Budweiser, Camel, Campbell, Carlsberg, Coca-Cola, Colgate, Del Monte, Fisher-Price, Gordon's, Green Giant, Guinness, Haagen-Dazs, Heineken, Heinz, Hennessy, Hermes, Hershey, Ivory, Jell-o, Johnnie Walker, Kellogg, Kleenex, Kraft, Louis Vuitton, Marlboro, Nescafe, Nestle, Nivea, Oil of Olay, Pampers, Pepsi-Cola, Planters, Quaker, Sara Lee, Schweppes, Smirnoff, Tampax, Winston, and Wrigley's
Band-Aid
Barbie
Birds Eye
Budweiser
Camel
Campbell
Carlsberg
Coca-Cola
Colgate
Del Monte
Fisher-Price
Gordon's
Green Giant
Guinness
Haagen-Dazs
Heineken
Heinz
Hennessy
Hermes
Hershey
Ivory
Jell-o
Johnnie Walker
Kellogg
Kleenex
Kraft
Louis Vuitton
Marlboro
Nescafe
Nestle
Nivea
Oil of Olay
Pampers
Pepsi-Cola
Planters
Quaker
Sara Lee
Schweppes
Smirnoff
Tampax
Winston
Wrigley's
value in billions of dollars
revenue in billions of dollars
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
# NOT RUN { plot(value ~ revenue, data = Name) model <- lm(value ~ revenue, data = Name) abline(model, col = "red") cor(Name$value, Name$revenue) summary(model) rm(model) # }
Run the code above in your browser using DataLab