[Scipy-tickets] [SciPy] #1647: BUG: stats: _argcheck function for the erlang distribution is misnamed.

SciPy Trac scipy-tickets@scipy....
Sun Apr 22 10:06:31 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):

 If there are no special features or calculations to erlang, then it could
 be deleted and aliased instead. I don't see any advantages for users in
 this, except getting more nans back.

 All (?) other distributions that are special cases of other distributions
 have simplified formulas and calculations, so there is a reason for their
 existence. In the erlang case it's just the input, internally it's the

 The main problem with imposing integer parameter is that it would break
 fit for example. We cannot search in a continuous parameter space if
 argcheck returns False for almost all points.

 example t-distribution: in statistic we use almost always integer degrees
 of freedom, but if we just want to fit a t distribution to data, then
 using continuous dof works well.

Ticket URL: <http://projects.scipy.org/scipy/ticket/1647#comment:5>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list