[Scipy-tickets] [SciPy] #50: Statistics Review: gmean

SciPy scipy-tickets at scipy.net
Tue Jan 30 21:30:01 CST 2007

#50: Statistics Review: gmean
 Reporter:  rkern        |        Owner:  rkern                   
     Type:  review       |       Status:  assigned                
 Priority:  normal       |    Milestone:  Statistics Review Months
Component:  scipy.stats  |      Version:  devel                   
 Severity:  normal       |   Resolution:                          
 Keywords:               |  
Comment (by JohnByrnes):

 It seems the naive implementation chokes and returns zero when applied to
 arrays larger then 700 elements or so.  I've attached a diff against the
 current SVN in which the gmean function uses the logarithmic identity
 shown in [http://en.wikipedia.org/wiki/Geometric_mean].  This seems to be
 stable for much larger array sizes.

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

More information about the Scipy-tickets mailing list