[SciPy-User] stats vs stats.mstats

PHobson at Geosyntec.com PHobson at Geosyntec.com
Wed Aug 4 12:13:31 EDT 2010



> -----Original Message-----
> From: scipy-user-bounces at scipy.org [mailto:scipy-user-
> bounces at scipy.org] On Behalf Of Bruce Southey
> Sent: Wednesday, August 04, 2010 6:44 AM
> To: scipy-user at scipy.org
> Subject: Re: [SciPy-User] stats vs stats.mstats
> 
>   On 08/03/2010 08:50 PM, PHobson at 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