[Scipy-tickets] [SciPy] #1530: Bugs in fit when moments are inf (cauchy, t(1)), scipy 0.9.0

SciPy Trac scipy-tickets@scipy....
Sat Oct 8 11:00:31 CDT 2011


#1530: Bugs in fit when moments are inf (cauchy, t(1)), scipy 0.9.0
------------------------------+---------------------------------------------
 Reporter:  gtg944q           |       Owner:  somebody   
     Type:  defect            |      Status:  new        
 Priority:  normal            |   Milestone:  Unscheduled
Component:  scipy.stats       |     Version:  0.9.0      
 Keywords:  cauchy fit stats  |  
------------------------------+---------------------------------------------

Comment(by josefpktd):

 That's it for now.

 Unless someone spends the time investigating good starting values for the
 infinite moment case, the easiest solution is just to add _fitstart to
 cauchy_gen

 {{{
 def _fitstart(data, args=None):
    return (0, 1)
 }}}

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


More information about the Scipy-tickets mailing list