[Scipy-tickets] [SciPy] #1895: stats binom at non-integer n
SciPy Trac
scipy-tickets@scipy....
Tue Apr 23 03:48:57 CDT 2013
#1895: stats binom at non-integer n
-------------------------+--------------------------------------------------
Reporter: josefpktd | Owner: rgommers
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: scipy.stats | Version: 0.12.0
Keywords: |
-------------------------+--------------------------------------------------
Comment(by Sytse):
I don't know of an extension of the binomial distribution for non-integer
n and couldn't find one in the literature.
In my opinion the parameter n should be restricted to non-negative integer
values.
BTW, how should in scipy a check be coded whether a parameter has an
integer value? abs(par-round(par))<eps?
I couldn't find an example, neither in the hypergeometric distribution
nor in the discrete uniform distribution, where parameters imo also should
have integer values.
A similar check should therefore also be introduced for all parameters in
these two distributions (and maybe in more?)
--
Ticket URL: <http://projects.scipy.org/scipy/ticket/1895#comment:1>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.
More information about the Scipy-tickets
mailing list