[Scipy-tickets] [SciPy] #1659: Function scipy.stats.poisson.fit Is Missing

SciPy Trac scipy-tickets@scipy....
Thu May 10 16:30:00 CDT 2012


#1659: Function scipy.stats.poisson.fit Is Missing
--------------------------+-------------------------------------------------
 Reporter:  MrDrMcNinja   |       Owner:  somebody         
     Type:  defect        |      Status:  new              
 Priority:  normal        |   Milestone:  StatisticsCleanup
Component:  scipy.stats   |     Version:  0.10.0           
 Keywords:  poisson, fit  |  
--------------------------+-------------------------------------------------
 I am aware that there is another ticket related to this topic which was
 claimed as fixed (http://projects.scipy.org/scipy/ticket/1421), but it
 still does not seem to work properly. With the latest version (0.10.1), if
 I attempt to run the following:

 from scipy.stats import poisson

 print poisson.fit

 I get the following error:

 "AttributeError: 'poisson_gen' object has no attribute 'fit'"

 I can print other Poisson functions just fine however, such as
 poisson.pmf, poisson.stats, poisson.expect, etc.

 The same error occurs if I run .fit on other discrete distributions
 (geom.fit, binom.fit), but it works fine if I run it on continuous
 distributions (expon.fit, norm.fit).

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


More information about the Scipy-tickets mailing list