Opened 17 months ago
Closed 17 months ago
#971 closed request (wontfix)
inverse of binomial cumulative distribution
Reported by: | Peter | Owned by: | Peter |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | statistics | Version: | |
Keywords: | Cc: |
Description
Since binomial is a discrete distribution, it's not obvious how to define the inverse, but MatLab? defines it as x = binoinv(y,n,p) returns the smallest integer x such that the binomial cdf evaluated at x is equal to or exceeds y.
Change History (2)
comment:1 Changed 17 months ago by
Status: | new → accepted |
---|
comment:2 Changed 17 months ago by
Milestone: | yat 0.19 |
---|---|
Resolution: | → wontfix |
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
This functionality is available in boost via the Binomial Distribution class and quantile function.
https://www.boost.org/doc/libs/1_75_0/libs/math/doc/html/math_toolkit/dist_ref/dists/binomial_dist.html