In the Kruskal-Wallis test, should the intervals between the data be of the same size?…
- User
In the Kruskal-Wallis test, should the intervals between the data be of the same size? For example, suppose that the data can be 0, 2, 4, 6, and 12. Note that the intervals between the data points in this example are 2, except that between the last two data points (i.e., 6 and 12), the interval suddenly changes to 6.
Given that the Kruskal-Wallis test concerns only with ranks, does it matter that the intervals aren't the same at the end of the range?
For example, I want to compare two groups that are formed of different numbers of the data points 0, 2, 4, 6, and 12. For example, the first group is:
2 2 0 0 12 4 2 6 2 0 12
While the second group is:
12 0 6 4 0 2 2 4 12 12 0
Now, please tell me if Kruskal-Wallis can be used for such a data? Note that the intervals are not all the same, so the data is not perfectly ordinal (the way an ordinal data should be).
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.