Incremental skewness and other higher moments when provided equal values do not yield expected results #287
Labels
Bug
Something isn't working.
Math
Issue or pull request specific to math functionality.
Statistics
Issue or pull request related to statistical functionality.
Checklist
Description
Encountered a potential bug when using the incremental accumulators for skewness and kurtosis. Notably, when providing all equal values, the accumulators return
NaN
. However, for uniformly distributed values, the skewness is0
.Related Issues
No related issues in this repository. However, Pandas seems to have encountered a similar issue: pandas-dev/pandas#18044.
Questions
No.
Other
No.
Demo
N/A
Reproduction
In order to reproduce this bug, do the following:
Expected Results
The following results are expected:
Actual Results
The following are the actual results:
Environments
All environments are affected.
The text was updated successfully, but these errors were encountered: