haskell / haskell/statistics

`spearman` returns NaN.

Open
#128 8 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
Haskell
Stars
309
Forks
76
PR merge metrics
No merged PRs in 30d

Description

`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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.