On 4 January 2012 13:36, Tamas Papp tkpapp@gmail.com wrote:
I attach a patch for the mean and median, with a couple of new tests and a utility function for displacing. I am happy to rewrite anything to conform to the style of Alexandria, let me know if that is necessary. I will submit a patch for the variance soon.
Thanks, merged.
I tweaked it a bit, though, mostly to support generalized sequences, and MEAN also to deal with fill pointers correctly.
BTW, is anyone using the biased variance? When a similar statistic is needed, it usually makes more sense to calculate the sum of squared errors (from the mean), and variance could always give the "unbiased" (/ sse (1- n)) statistic and have no keyword arguments. Just a thought.
No idea, really.
Cheers,
-- Nikodemus