Data for Exercise 10.55

Delay

Format

A data frame/tibble with 80 observations on two variables

delay

the delay time (in minutes) for 80 randomly selected flights

carrier

a factor with levels A, B, C, and D

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples


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
#>