[SciPy-dev] RFR: Proposed fixes in scipy.stats functions for calculation of variance/error/etc.
Mon Oct 26 00:32:25 CDT 2009
I agree - let's see how we work things out for stats and then, we can
copy over whatever behavior we settle on to mstats as well.
On Sun, Oct 25, 2009 at 10:18 PM, Pierre GM <email@example.com> wrote:
> On Oct 26, 2009, at 12:59 AM, firstname.lastname@example.org wrote:
>> zs was the list version for the zscore using z to calculate, the
>> translation in
>> the next changeset is correct only for 1d or raveled arrays, but it
>> is missing
>> an axis argument. It looks like z was a helper function for a scalar
>> zmap got imported in this form in revision 71.
>> stats.mstats has the same functions, but they look like literal
>> since they have the same (ambiguous) treatment of axis if it's not 1d.
>> stats.mstats.z has ddof=1, the others ddof=0
> well, maybe it's time to start cleaning up mstats. For the z
> functions, that should be straightforward, provided we don't lose the
> mask with np.asarray (a np.asanyarray would be sufficient). In that
> case, we could probably drop support for them in mstats. At least, we
> should make sure that the mstats versions have the same defaults as
> the stats ones.
> Scipy-dev mailing list
Helen Wills Neuroscience Institute
University of California, Berkeley
More information about the Scipy-dev