Quantcast
Channel: Math.NET Numerics
Viewing all articles
Browse latest Browse all 971

New Post: Negative Samples from Geometric Distribution

$
0
0
I've fixed the Geometric distribution in mainline master; the negative sign was indeed wrong, but Ceiling instead of Floor is correct. Note that there are two definitions of the Geometric distribution, one with mode 0 and one with mode 1. The one implemented in Math.NET Numerics has mode 1 (and thus will never generate a 0-sample).

The distribution of samples generated by all continuous and discrete distributions except NegativeBinomial, Poisson and ConwayMaxwellPoisson are now verified in the unit tests. Thanks again for reporting.

Thanks,
Christoph

Viewing all articles
Browse latest Browse all 971

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>