Non-parametric Kruskal Wallis data example

Share:

Description

Artificial dataset to show that the p-value obtained for the Kruskal Wallis is only valid _after_ the distributional form has been checked to be the same for all groups.

Format

An artificial data frame with 18 observations in each of three groups.

x

measurements for group 1

y

measurements for group 2

z

measurements for group 3

Source

Data example found on the internet

Examples

1
2
3
data(kwdata)
newdata <- stack(kwdata)
kruskal.test(values ~ ind, newdata)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.