powered by
Data for Exercise 9.36 and Example 9.8
Randd
A data frame/tibble with 12 observations on two variables
research and development expenditures (in million dollars)
sales (in million dollars)
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
# NOT RUN { plot(sales ~ rd, data = Randd) model <- lm(sales ~ rd, data = Randd) abline(model, col = "purple") summary(model) plot(model, which = 1) rm(model) # }
Run the code above in your browser using DataLab