DolevArtzi / probably-probability

Probability playground to work with and simulate RVs
1 stars 0 forks source link

More clever poisson generating algorithms #3

Open DolevArtzi opened 1 year ago

DolevArtzi commented 1 year ago

Overshooting by 1. Worry about it. Seems to be generating the correct distribution though.

bug fixed.

TODO: two faster poisson generating algorithms:

1. Summing exponentials [Ross 69]
2. starting inverse transform search from Int(λ) and searching up or down accordingly [Ross 56]