Learn R Programming

BSDA (version 1.2.0)

Longtail: Long-tailed distributions to illustrate Kruskal Wallis test

Description

Data for Exercise 10.45

Usage

Longtail

Arguments

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

Run this code
# NOT RUN {
boxplot(score ~ group, data = Longtail, col = heat.colors(3))
kruskal.test(score ~ factor(group), data = Longtail)
anova(lm(score ~ factor(group), data = Longtail))

# }

Run the code above in your browser using DataLab