Data for Exercise 10.55
Delay
A data frame/tibble with 80 observations on two variables
the delay time (in minutes) for 80 randomly selected flights
a factor with levels A
, B
, C
, and D
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
boxplot(delay ~ carrier, data = Delay,
main = "Exercise 10.55", ylab = "minutes",
col = "pink")
kruskal.test(delay ~carrier, data = Delay)
#>
#> Kruskal-Wallis rank sum test
#>
#> data: delay by carrier
#> Kruskal-Wallis chi-squared = 3.7529, df = 3, p-value = 0.2894
#>