Learn R Programming

MESS (version 0.4-3)

kwdata: Non-parametric Kruskal Wallis data example

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.

Arguments

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

Run this code

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

Run the code above in your browser using DataLab