statistics
statistics copied to clipboard
Consider using log-domain to type distinguish log-probabilities
The 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 logProbability.
Related: #41
Instead of log-domain, there's also logfloat, with fewer dependencies.
This is actually good idea