Skip to content

Conversation

@daikonradish
Copy link
Contributor

fixes #148.

The Kruskal Wallis test requires there to be some underlying variation within the dataset. That means that the test should fail when provided with samples that are all of the same value.

This fix inserts a check for the first rank and the last rank within kruskalWallisRank. If the first rank is the same as the last rank, then there is no underlying variation, and Nothing is returned and propagated forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Kruskal Wallis out of range

1 participant