Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kruskal Wallis out of range #148

Open
GregorySchwartz opened this issue Sep 7, 2018 · 1 comment
Open

Kruskal Wallis out of range #148

GregorySchwartz opened this issue Sep 7, 2018 · 1 comment

Comments

@GregorySchwartz
Copy link

Error with a vector of two vectors, one of length 4752 and one of length 1974: Statistics.Types.mkPValue: probability is out if [0,1] range.

@GregorySchwartz
Copy link
Author

GregorySchwartz commented Sep 7, 2018

Here is a simple example:

Stat.kruskalWallisTest [U.fromList [0,0,0,0,0], U.fromList [0,0,0,0,0]]

This error occurs when all values in both groups are tied (the lengths of the vectors can be the same or different). I would expect a p-value of Nothing.

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

No branches or pull requests

1 participant