Opened 5 months ago

Closed 5 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 5 months ago by Peter

Status: newaccepted

comment:2 Changed 5 months ago by Peter

Milestone: yat 0.19
Resolution: wontfix
Status: acceptedclosed

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

Note: See TracTickets for help on using tickets.