statistics
statistics copied to clipboard
A fast, high quality library for computing with statistics in Haskell.
The [log-domain](https://hackage.haskell.org/package/log-domain) package provides a newtype wrapper and a `Num` instance for numbers represented by their logarithms. `statistics` currently provides no type distinction between the output of e.g. `probability` and...
We have several functions which could take either scale or rate parameter. For example exponential distribution. I can never remember which should be used. I think we shold use type...
I have quite a few applications where I need to compute the pdf (or cdf) of a discrete distribution over the whole range [n, n+1, ..., n+N]. At the moment,...
I am not sure if this is the case for everyone (as I am fairly new to Haskell) but I'd appreciate it if generating random numbers would be easier. In...
I'm having a bit of trouble understanding how the least-squares regression is meant to be called, so I added a failing test with my understanding of the constraints.
Modules S.Function and S.Quantile require a lot of time to compile. Further investigation showed that this is due to function `partialSort`. It compiles to some 200k line of GHC core...
Log excerpt ``` Test distributions against exact Exact tests for Binomial PMF match: OK (0.01s) +++ OK, passed 100 tests. CDF match: OK (5.40s) +++ OK, passed 100 tests. 1...