prob
prob copied to clipboard
A GoLang library providing statistics and sampling for probability distributions.
Will probably update this list as I come up with more. I'd like at least the following added: ### Continuous - [x] Cauchy - [x] Chi-Square - [x] Exponential -...
The chi square CDF does not account for underflow or overflow and therefore can emit (very) wrong answers. ```go package demo import ( "math" "testing" "github.com/atgjack/prob" ) func TestProb(t *testing.T)...
Similar to #1. Add some discrete distributions. ### Discrete Distributions: - [x] Binomial - [x] Negative Binomial - [x] Poisson - [x] Geometric - [ ] Hypergeometric - [ ]...
I added the Student's t-distribution in #14. The sampling tests are lame. I need to find a better way to verify them.
I added the Cauchy distribution in #4 but it's sampling tests are not really valid. Looking for a better way to test this.