[Scipy-tickets] [SciPy] #1647: BUG: stats: _argcheck function for the erlang distribution is misnamed.
SciPy Trac
scipy-tickets@scipy....
Sun Apr 22 09:22:53 CDT 2012
#1647: BUG: stats: _argcheck function for the erlang distribution is misnamed.
------------------------------+---------------------------------------------
Reporter: warren.weckesser | Owner: somebody
Type: defect | Status: needs_review
Priority: normal | Milestone: Unscheduled
Component: scipy.stats | Version: 0.10.0
Keywords: |
------------------------------+---------------------------------------------
Comment(by josefpktd):
I think _arg_check could be deleted.
I don't see a reason to impose that n is an integer. I checked a few
examples.
(many distributions are extended to real parameters instead of integers,
for example degrees of freedom in t, using gamma function instead of
factorial)
According to
http://en.wikipedia.org/wiki/Erlang_distribution#Related_distributions
Erlang is just a reparameterized gamma distribution.
Actually since we have scale generically, gamma and erlang are the same.
wikipedia doesn't restrict the shape parameter in gamma to integers
(it takes a while to submit without database locked)
--
Ticket URL: <http://projects.scipy.org/scipy/ticket/1647#comment:2>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.
More information about the Scipy-tickets
mailing list