Robert Kern wrote: > prctile does not handle the case where the exact percentile lies between two > items. scoreatpercentile does. > >
If mlab is supposed to be compatible with matlab, then isn't this a problem? From matlab, version 7.2.0.283 (R2006a) >> prctile([1 1 2 2 1 2 4 3 2 2 2 3 4 5 6 7 8 9 7 6 4 5 5],[0 25 50 75 100]) ans = 1.0000 2.0000 4.0000 5.7500 9.0000 Of course, the 75th percentile is different here too (5.75 instead of scipy's 5.5). I don't know how to explain that discrepancy. Jason -- Jason Grout ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users