haskell / statistics

A fast, high quality library for computing with statistics in Haskell.
http://hackage.haskell.org/package/statistics
BSD 2-Clause "Simplified" License
300 stars 68 forks source link

Feature request: p-values for Pearson an Spearman coefficients #188

Open dschrempf opened 2 years ago

dschrempf commented 2 years ago

Practically all statistic packages provide a p-value together with the Pearson or Spearman correlation coefficients. Can we also have this feature?

I found https://github.com/haskell/statistics/pull/125, but it was never merged.

EDIT: For reference: https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.pearsonr.html