-
Notifications
You must be signed in to change notification settings - Fork 67
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
spearman
returns NaN.
#128
Comments
Good catch! Would you mind to provide fix for it? |
This would change |
Ohhh... It's going to be a big change. Feel free to share your opinion on the matter |
I starting to think that we should do such conversion and return Nothing when no result could be computed. We could do it incrementally and start by convertin |
That sounds fine, but maybe return |
I've started addressing this here: https://github.com/DataHaskell/statistics/tree/exceptions-not-error |
spearman
should return Nothing rather than NaN:spearman $ V.fromList [(1, 3), (5, 3)]
, or any case where one of the two variables is a constant.The text was updated successfully, but these errors were encountered: