Adding a new public function in special for the CDF of the Poisson binomial distribution

In ENH: special: Make what is now `special._spfun_stats._poisson_binom_cdf` public. · Issue #25921 · scipy/scipy · GitHub I propose adding scipy.special._spfun_stats._poisson_binom_cdf to the public API under one of the names:

  • scipy.special.poisson_binom_cdf
  • scipy.special.pbdtr
  • scipy.special.poisson_binom_dist

I recently found an application where this function is useful in my own research outside of SciPy, and it struck me that it’s probably a sign that this would be valuable enough to have in the public API. Due to limitations in the legacy statistical distribution infrastructure, scipy.stats.poisson_binom.cdf is not an acceptable substitute at the moment.

1 Like