[issue21046] Document formulas used in statistics

2014-06-27 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> works for me stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___

[issue21046] Document formulas used in statistics

2014-06-26 Thread Zachary Ware
Changes by Zachary Ware : -- nosy: -zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue21046] Document formulas used in statistics

2014-06-26 Thread Mark Lawrence
Mark Lawrence added the comment: Three months gone and still no patch, not that I believe one is needed. I'm inclined to close as "won't fix", there's nothing to stop it being reopened if needed. -- ___ Python tracker

[issue21046] Document formulas used in statistics

2014-05-16 Thread Ezio Melotti
Ezio Melotti added the comment: >From msg214692 it seems to me that Alex wants "Python-friendly" formulas or >examples, rather than mathematical formulas. Most functions seems to already >have them, so I was asking for a patch to get a better idea of which functions >he thinks should be impro

[issue21046] Document formulas used in statistics

2014-05-16 Thread Steven D'Aprano
Steven D'Aprano added the comment: On Fri, May 16, 2014 at 07:50:16AM +, Ezio Melotti wrote: > Do you want to propose a patch? I'm really not sure that I agree with this request. I'm currently sitting on the fence, undecided, about 60% against and 40% in favour of explicitly documenting t

[issue21046] Document formulas used in statistics

2014-05-16 Thread Ezio Melotti
Ezio Melotti added the comment: Do you want to propose a patch? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue21046] Document formulas used in statistics

2014-05-15 Thread Alextp
Alextp added the comment: @Ezio: of course, much of these funcs CANNOT be expressed as simple formulas. Only with some text. I shown example descriptions for almost all- above. -- ___ Python tracker __

[issue21046] Document formulas used in statistics

2014-05-14 Thread Ezio Melotti
Ezio Melotti added the comment: > E.g. > median([x1, x2, x3, x4, x5]) = x3 > median([x1, x2, x3, x4, x5, x6]) = (x3 + x4) / 2 The docs seem to already contain similar examples for some of the functions (e.g. median()), but not for others (e.g. mean()). For these, if the formula can be expressed

[issue21046] Document formulas used in statistics

2014-03-24 Thread Alextp
Alextp added the comment: Without details like these it must be URLS to wikipedia or Wolfram. Usual users don't know how to search wolfram. -- ___ Python tracker ___ ___

[issue21046] Document formulas used in statistics

2014-03-24 Thread Mark Lawrence
Mark Lawrence added the comment: IMHO the docs shouldn't be cluttered with details such as this. -- nosy: +BreamoreBoy ___ Python tracker ___

[issue21046] Document formulas used in statistics

2014-03-24 Thread Alextp
Alextp added the comment: 5) pvariance. Calculates "population variance" of iterable by such formula: pvariance([x1, x2, ..., xN], M) = ((x1 - M)**2 + ... + (xN - M)**2) / N M is optional argument which should be value of mean([x1, ... xN]) calculated before. If M parameter is missed in call,

[issue21046] Document formulas used in statistics

2014-03-24 Thread Alextp
Alextp added the comment: I wrote not ok formula for median_grouped. But i can't get idea from source. THIS SHOWS that source code is NOT ok doc, even student can't get it e.g. pvariance. Calculates population variance of iterable. It's given by formula: pvariance([x1, x2, ..., xN]) = ((x1 -

[issue21046] Document formulas used in statistics

2014-03-24 Thread Alextp
Alextp added the comment: I'm author or topic I suggest to give simple formulas. for ex - 1) mean. Calculates sum of all values in iterable, divided by number of elements. E.g. mean([x1, x2, ..., xN]) = (x1 + x2 + ... + xN) / N 2) median. Calculates value with middle index from iterable.

[issue21046] Document formulas used in statistics

2014-03-24 Thread Steven D'Aprano
Steven D'Aprano added the comment: If any of the docs are unclear, I would be very happy take suggestions to improve them. But I'm not entirely sure that the docs are the right place to show the equations. You should be able to look them up on Wikipedia or Wolfram Mathworld if you have doubt a

[issue21046] Document formulas used in statistics

2014-03-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: At the top of the documentation page is a link to the pure python source code for the statistics functions. The source for the main functions is short, readable, and clear about exactly what is being done. The code for the help functions like _sum() is a

[issue21046] Document formulas used in statistics

2014-03-23 Thread Zachary Ware
New submission from Zachary Ware: >From docs@: On Sun, Mar 23, 2014 at 5:55 PM, Alex wrote: > http://docs.python.org/dev/library/statistics.html > > I know math. I ended the institute. But in Russia. Doc doesn't show me WHAT > FORMULAS are used for mean, median, median_low , etc. I canot unde