Estimates of costs of kitchen cabinets by two suppliers on 20 prospective homes
Data for Exercise 7.83
Cabinets
A data frame/tibble with 20 observations on three variables
a numeric vector
estimate for kitchen cabinets from supplier A (in dollars)
estimate for kitchen cabinets from supplier A (in dollars)
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
DIF <- Cabinets$supplA - Cabinets$supplB qqnorm(DIF) qqline(DIF) shapiro.test(DIF) with(data = Cabinets, t.test(supplA, supplB, paired = TRUE) ) with(data = Cabinets, wilcox.test(supplA, supplB, paired = TRUE) ) rm(DIF)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.