This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author wolma
Recipients steven.daprano, vstinner, wolma
Date 2014-04-09.14:11:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397052662.01.0.932471996009.issue21184@psf.upfronthosting.co.za>
In-reply-to
Content
ok, there may be use cases for calculating a variance estimate in such situations, but IMHO what you are trying to do is to abuse a function which is not documented to be made for the purpose and then complain that it does not behave correctly.

The *documented* use of the mu argument is to avoid redundant calculations of the mean of data!
With just one argument, how would you know whether the user wants this documented functionality or the undocumented one ?

Your suggestion of just omitting the correction means that every user who wants the documented functionality gets a potentially imprecise result.
Another potential approach may be to correct the correction term based on the mean calculated from data, but such a calculation would be absurd given the documented functionality.

In case the statistics module is going to use exact representations of internal results in 3.5, the error adjustment would become obsolete anyway (see http://bugs.python.org/issue20499) and pvariance could be abused just as you suggest.
In this case, this usage could be sanctioned in the form of a recipe ?
History
Date User Action Args
2014-04-09 14:11:02wolmasetrecipients: + wolma, vstinner, steven.daprano
2014-04-09 14:11:02wolmasetmessageid: <1397052662.01.0.932471996009.issue21184@psf.upfronthosting.co.za>
2014-04-09 14:11:01wolmalinkissue21184 messages
2014-04-09 14:11:01wolmacreate