You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gh-2857 adds test for moments _stats uses special.errprint(0) ? never seen
The entire ._stats function can be deleted (not even worth a _stats_skip) because it just uses the generic calculation to go from moments to mvsk, AFAICS
zipf is largely based on special.zeta. Need to check where it runs into floating point problems
k**a by np.power(k, a) would be safer
from comments in test suite, some moments are inf if the shape parameter is small
Original ticket http://projects.scipy.org/scipy/ticket/1361 on 2011-01-15 by @rgommers, assigned to unknown.
The zipf tests in stats/test_discrete_basic.py were yielding floating point warnings for many (all?) methods. In 1c4ebaa the zipf tests were disabled.
zipf(4) was giving warnings, zipf(2) was failing according to a comment in the test file. The whole implementation should be reviewed.
The text was updated successfully, but these errors were encountered: