mmirolim / gostat

Automatically exported from code.google.com/p/gostat
0 stars 0 forks source link

possible bug in Poisson_PMF(λ) #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
8g foo.go
8l foo.8
./8.out

Output:
λ = 1.77   k= 1   p = -0.5872982159059681  should be 0.301489
λ = 15.336   k= 15   p = -1.2171062280039564e-09  should be 0.102057

Original issue reported on code.google.com by tyapca7 on 28 Nov 2011 at 8:39

Attachments:

GoogleCodeExporter commented 8 years ago
problem solved

Original comment by tyapca7 on 29 Nov 2011 at 11:04