Longtail: Long-tailed distributions to illustrate Kruskal Wallis test

LongtailR Documentation

Long-tailed distributions to illustrate Kruskal Wallis test

Description

Data for Exercise 10.45

Usage

Longtail

Format

A data frame/tibble with 60 observations on three variables

score

a numeric vector

group

a numeric vector with values 1, 2, and 3

ranks

ranks for variable score

References

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

Examples


boxplot(score ~ group, data = Longtail, col = heat.colors(3))
kruskal.test(score ~ factor(group), data = Longtail)
anova(lm(score ~ factor(group), data = Longtail))


BSDA documentation built on Sept. 19, 2023, 1:08 a.m.