[Numpy-discussion] cov

josef.pktd@gmai... josef.pktd@gmai...
Mon Feb 15 08:31:00 CST 2010


On Mon, Feb 15, 2010 at 8:42 AM, Alan G Isaac <aisaac@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@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>


More information about the NumPy-Discussion mailing list