Long-tailed distributions to illustrate Kruskal Wallis test
Data for Exercise 10.45
Longtail
A data frame/tibble with 60 observations on three variables
a numeric vector
a numeric vector with values 1
, 2
, and 3
ranks for variable score
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
boxplot(score ~ group, data = Longtail, col = heat.colors(3)) kruskal.test(score ~ factor(group), data = Longtail) anova(lm(score ~ factor(group), data = Longtail))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.