[issue21046] Document formulas used in statistics
Ezio Melotti
report at bugs.python.org
Wed May 14 14:04:57 CEST 2014
Ezio Melotti added the comment:
> E.g.
> median([x1, x2, x3, x4, x5]) = x3
> median([x1, x2, x3, x4, x5, x6]) = (x3 + x4) / 2
The docs seem to already contain similar examples for some of the functions (e.g. median()), but not for others (e.g. mean()).
For these, if the formula can be expressed with a simple Python equivalent (e.g. sum(values) / len(values)), I think it would be reasonable to add it.
----------
nosy: +ezio.melotti
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21046>
_______________________________________
More information about the Python-bugs-list
mailing list