[Scipy-tickets] [SciPy] #867: scipy.stats.mstats.mquantiles - limit keyword produces unexpected results

SciPy scipy-tickets@scipy....
Wed Feb 11 09:53:07 CST 2009


#867: scipy.stats.mstats.mquantiles - limit keyword produces unexpected results
---------------------------+------------------------------------------------
 Reporter:  ScottSinclair  |       Owner:  somebody
     Type:  defect         |      Status:  new     
 Priority:  normal         |   Milestone:  0.8.0   
Component:  scipy.stats    |     Version:  devel   
 Severity:  normal         |    Keywords:          
---------------------------+------------------------------------------------
 The following code doesn't work as expected. A patch is attached.
 {{{
 >>> import numpy as np
 >>> from scipy.stats.mstats import mquantiles
 >>> data = np.array([7., 15., 36., 39., 40., 41., -999., -999., -999.,
 -999., -999.])
 >>> mquantiles(data, limit=(0, 50))
 array([-999., -999., -999.])
 }}}

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


More information about the Scipy-tickets mailing list