Message371313
> do you have any comment on my previous answer?
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)).
>>> data = [1, 2]
>>> stdev(data)
0.7071067811865476
>>> stdev(data, xbar=mean(data))
0.7071067811865476 |
|
Date |
User |
Action |
Args |
2020-06-11 17:17:39 | rhettinger | set | recipients:
+ rhettinger, steven.daprano, Folket |
2020-06-11 17:17:39 | rhettinger | set | messageid: <1591895859.24.0.354113391589.issue40855@roundup.psfhosted.org> |
2020-06-11 17:17:39 | rhettinger | link | issue40855 messages |
2020-06-11 17:17:39 | rhettinger | create | |
|