haskell / haskell/statistics

`spearman` returns NaN.

Aperta
#128 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Bug
Lingua principale
Haskell
Stelle
309
Fork
76
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.