Cabinets | R Documentation |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.