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 Folket
Recipients Folket, miss-islington, rhettinger, steven.daprano
Date 2020-06-17.09:37:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1592386651.25.0.636831772002.issue40855@roundup.psfhosted.org>
In-reply-to
Content
>I see what you're trying to do but think that interpretation is surprising
>and is at odds with the existing and intended uses of the *xbar* argument.  
>
>The goals were to allow the mean to be precomputed (common case) or to be recentered (uncommon).  Neither case should have the effect of changing the divisor.  
>
>We can't break existing code that assumes that stdev(data) is equal to stdev(data, xbar=mean(data)).

Maybe the requirement are buged? It seems to me that recalculating the mean is a very niche use case. You will very little time on a call you do once. 

But what good is it to supply a re-centered mean if you get a wrong estimation of the standard deviation? If the mean is not the mean of the sample it was not calculated using the sample so there is no loos of degrees of freedom.
History
Date User Action Args
2020-06-17 09:37:31Folketsetrecipients: + Folket, rhettinger, steven.daprano, miss-islington
2020-06-17 09:37:31Folketsetmessageid: <1592386651.25.0.636831772002.issue40855@roundup.psfhosted.org>
2020-06-17 09:37:31Folketlinkissue40855 messages
2020-06-17 09:37:31Folketcreate