[SciPy-User] stats vs stats.mstats

PHobson@Geosynte... PHobson@Geosynte...
Wed Aug 4 11:13:31 CDT 2010



> -----Original Message-----
> From: scipy-user-bounces@scipy.org [mailto:scipy-user-
> bounces@scipy.org] On Behalf Of Bruce Southey
> Sent: Wednesday, August 04, 2010 6:44 AM
> To: scipy-user@scipy.org
> Subject: Re: [SciPy-User] stats vs stats.mstats
> 
>   On 08/03/2010 08:50 PM, PHobson@Geosyntec.com wrote:
> > I was curious about the state of scipy.stats and scipy.stats.mstats.
> It seems to me that mstats is more advanced for some functions (like
> computing percentiles/quantiles). Is that the case?
> >
> > Any reason not to use mstats over stats entirely?
> >
> > Thanks,
> > -paul


> Most of scipy.stats was directly implemented for masked arrays in
> scipy.mstats with some additional functionality. So while you can use
> scipy.mstats for non-masked arrays, it is can be 'overkill' and you
> should expect certain consequences such as masked arrays being
> returned.
>
> Bruce

Thanks, Bruce. I can live with possibly getting a masked array back.
-paul


More information about the SciPy-User mailing list