Steven D'Aprano writes:
I propose adding a basic calculator statistics module to the standard
library, similar to the sorts of functions you would get on a scientific
calculator:
mean (average)
variance (population and sample)
standard deviation (population and sample)
correlation coefficient
+1 for these.
and similar.
I'm not sure about that. I immediately thought "how about bivariate
linear regression?", but that's actually misleading in many cases.
Doing anything more general is beyond the scope of "like a typical
scientific/statistical hand calculator".
On the other hand, well-commented code showing how to do the bivariate
case would help people to implement more general cases. Ditto for
other common tasks like chi-square tests.
_______________________________________________
Python-ideas mailing list
Python-ideas@python.orghttp://mail.python.org/mailman/listinfo/python-ideas