This PR adds the logistic distribution to statrs, following the goal of trying to port over the distributions from https://github.com/mathnet/mathnet-numerics/tree/master/src/Numerics/Distributions. It's deviating a bit from some of the other implementations in statrs (e.g., Laplace) in that infinite parameters are not permitted, since I think it's incorrect to allow this. The pointwise test cases were calculated using the Python scipy library.
This PR adds the logistic distribution to
statrs
, following the goal of trying to port over the distributions from https://github.com/mathnet/mathnet-numerics/tree/master/src/Numerics/Distributions. It's deviating a bit from some of the other implementations instatrs
(e.g., Laplace) in that infinite parameters are not permitted, since I think it's incorrect to allow this. The pointwise test cases were calculated using the Pythonscipy
library.https://en.wikipedia.org/wiki/Logistic_distribution