Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9183: quantile for poisson distribution - precision issue?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-30 18:14:49
#9183: quantile for poisson distribution - precision issue?
-------------------------------+-------------------------
Reporter: tan@⦠| Owner: johnmaddock
Type: Support Requests | Status: new
Milestone: To Be Determined | Component: math
Version: Boost 1.54.0 | Severity: Showstopper
Resolution: | Keywords:
-------------------------------+-------------------------
Comment (by anonymous):
I'm not surprised that that doesn't work as you expected - as you said
it's a rounding issue - the calculated cdf is necessarily an
approximation, and if you then try to invert that the chances of getting
exactly 66 (or some other integer) back are basically nil. I guess we
could check to see if the real-valued result is very near to an integer
and then double check to see if that integer still fulfills the specified
requirements, but I'm betting that might not work in this case either...
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9183#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC