[Numpy-discussion] cov

josef.pktd at gmail.com josef.pktd at gmail.com
Mon Feb 15 09:31:00 EST 2010


On Mon, Feb 15, 2010 at 8:42 AM, Alan G Isaac <aisaac at american.edu> wrote:
> 1. Should `numpy.cov` use `ddof` instead of `bias`,
> like `std` and `mean`?

+1

(I just checked scipy stats and the usage of bias versus ddof is also
inconsistent. Is there an interpretation for a general ddof for skew
and kurtosis, or does only the binary choice bias=True/False make
sense?)

>
> 2. Should the docs for scipy.cov state that it is deprecated?
> http://docs.scipy.org/scipy/docs/scipy.stats.stats.cov/#scipy-stats-cov
> (Use raises a deprecation warning.)

I think so, we have not yet done any doc cleaning for the removal or
depreciation of the descriptive statistics in scipy.stats, mean, var,
cov, ...
It would be a good policy in general to add more information about
depreciation and changes in behavior in the docstrings and not only in
the warnings.

Josef

> Thanks,
> Alan Isaac
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>



More information about the NumPy-Discussion mailing list