[issue36546] Add quantiles() to the statistics module

2019-09-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 31af1cce9d799475ba8c3dec3e239b4a75ce268f by Raymond Hettinger (Miss Islington (bot)) in branch '3.8': bpo-36546: No longer a need to make "data" positional only (GH-16252) (GH-16253)

[issue36546] Add quantiles() to the statistics module

2019-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +15848 pull_request: https://github.com/python/cpython/pull/16253 ___ Python tracker ___

[issue36546] Add quantiles() to the statistics module

2019-09-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 272d0d017aef585acf84bb0af99a90a2a8582b2c by Raymond Hettinger in branch 'master': bpo-36546: No longer a need to make "data" positional only (GH-16252) https://github.com/python/cpython/commit/272d0d017aef585acf84bb0af99a90a2a8582b2c

[issue36546] Add quantiles() to the statistics module

2019-09-17 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +15847 pull_request: https://github.com/python/cpython/pull/16252 ___ Python tracker ___

[issue36546] Add quantiles() to the statistics module

2019-07-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +14679 pull_request: https://github.com/python/cpython/pull/14899 ___ Python tracker ___

[issue36546] Add quantiles() to the statistics module

2019-07-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset e5bfd1ce9da51b64d157392e0a831637f7335ff5 by Raymond Hettinger (Miss Islington (bot)) in branch '3.8': bpo-36546: Clean-up comments (GH-14857) (#14859) https://github.com/python/cpython/commit/e5bfd1ce9da51b64d157392e0a831637f7335ff5

[issue36546] Add quantiles() to the statistics module

2019-07-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +14649 pull_request: https://github.com/python/cpython/pull/14859 ___ Python tracker ___

[issue36546] Add quantiles() to the statistics module

2019-07-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset eed5e9a9562d4dcd137e9f0fc7157bc3373c98cc by Raymond Hettinger in branch 'master': bpo-36546: Clean-up comments (GH-14857) https://github.com/python/cpython/commit/eed5e9a9562d4dcd137e9f0fc7157bc3373c98cc --

[issue36546] Add quantiles() to the statistics module

2019-07-19 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +14647 pull_request: https://github.com/python/cpython/pull/14857 ___ Python tracker ___

[issue36546] Add quantiles() to the statistics module

2019-06-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 210358b25cf6425c81a341a074be6cd897c2d43d by Raymond Hettinger (Miss Islington (bot)) in branch '3.8': bpo-36546: Mark first argument as position only (GH-14363) (GH-14364)

[issue36546] Add quantiles() to the statistics module

2019-06-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 1791128677e71f3b93cae4bbed66ac3c6e4b5110 by Raymond Hettinger in branch 'master': bpo-36546: Mark first argument as position only (GH-14363) https://github.com/python/cpython/commit/1791128677e71f3b93cae4bbed66ac3c6e4b5110 --

[issue36546] Add quantiles() to the statistics module

2019-06-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +14181 pull_request: https://github.com/python/cpython/pull/14364 ___ Python tracker ___

[issue36546] Add quantiles() to the statistics module

2019-06-24 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +14180 pull_request: https://github.com/python/cpython/pull/14363 ___ Python tracker ___

[issue36546] Add quantiles() to the statistics module

2019-06-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset cba9f84725353455b0995bd47d0fa8cb1724464b by Raymond Hettinger in branch 'master': bpo-36546: Add design notes to aid future discussions (GH-13769) https://github.com/python/cpython/commit/cba9f84725353455b0995bd47d0fa8cb1724464b --

[issue36546] Add quantiles() to the statistics module

2019-06-02 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +13653 pull_request: https://github.com/python/cpython/pull/13769 ___ Python tracker ___

[issue36546] Add quantiles() to the statistics module

2019-05-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset e917f2ed9af044fe808fc9b4ddc6c5eb99003500 by Raymond Hettinger in branch 'master': bpo-36546: Add more tests and expand docs (#13406) https://github.com/python/cpython/commit/e917f2ed9af044fe808fc9b4ddc6c5eb99003500 --

[issue36546] Add quantiles() to the statistics module

2019-05-18 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +13317 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36546] Add quantiles() to the statistics module

2019-04-28 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +12922 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36546] Add quantiles() to the statistics module

2019-04-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset db81ba1393af40ba920a996651e2c11943c3663c by Raymond Hettinger in branch 'master': bpo-36546: More tests: type preservation and equal inputs (#13000) https://github.com/python/cpython/commit/db81ba1393af40ba920a996651e2c11943c3663c

[issue36546] Add quantiles() to the statistics module

2019-04-28 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +12921 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36546] Add quantiles() to the statistics module

2019-04-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for propelling this forward :-) I'm really happy to have an easy to reach tool that readily summarizes the shape of data and that can be used to compare how distributions differ. > Octave and Maple call their parameter "method", so if we >

[issue36546] Add quantiles() to the statistics module

2019-04-26 Thread Steven D'Aprano
Steven D'Aprano added the comment: Hi Raymond, Thanks for working on this, I'm really keen to see this happen and I appreciate your efforts so far. Your arguments have also convinced me that the default calculation type you chose (PERCENTILE.EXC or R type=6) is suitable. But I have a

[issue36546] Add quantiles() to the statistics module

2019-04-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: As requested, I've made the API easily extendable to handle alternative methods if those are deemed necessary. Also, it is easy to change the default. That said, it is my hope that these two methods and the current default get kept. They have several

[issue36546] Add quantiles() to the statistics module

2019-04-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 9013ccf6d8037f6ae78145a42d194141cb10d332 by Raymond Hettinger in branch 'master': bpo-36546: Add statistics.quantiles() (#12710) https://github.com/python/cpython/commit/9013ccf6d8037f6ae78145a42d194141cb10d332 --

[issue36546] Add quantiles() to the statistics module

2019-04-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: One other thought: The PR implements both methods 6 and 7 which means that that we can reproduce the results of every major stats tool except for Mathematica. The summary of properties chart of in Hyndman & Fan lists our default as satisfying 5 of 6

[issue36546] Add quantiles() to the statistics module

2019-04-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: Steven, as requested I added a documentation note reserving the right to add other interpolation methods. We can make the note stronger if you like. Otherwise, I think we're good to go now. Mark, thanks for the link. I've read all the posts and agree

[issue36546] Add quantiles() to the statistics module

2019-04-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for taking a detailed look. I'll explore the links you provided shortly. The API is designed to be extendable so that we don't get trapped by the choice of computation method. If needed, any or all of the following extensions are possible without

[issue36546] Add quantiles() to the statistics module

2019-04-08 Thread Mark Dickinson
Mark Dickinson added the comment: Related previous discussion on python-ideas: https://mail.python.org/pipermail/python-ideas/2018-March/049327.html -- nosy: +mark.dickinson ___ Python tracker

[issue36546] Add quantiles() to the statistics module

2019-04-07 Thread Steven D'Aprano
Steven D'Aprano added the comment: I think adding quantiles (sometimes called fractiles) is a good feature to add. I especially have some use-cases for quartiles. I especially like that it delegates to the inv_cdf() method when available, and I'm happy with the API you suggested. Forgive

[issue36546] Add quantiles() to the statistics module

2019-04-06 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +steven.daprano ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36546] Add quantiles() to the statistics module

2019-04-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: https://patch-diff.githubusercontent.com/raw/python/cpython/pull/12710.diff -- ___ Python tracker ___

[issue36546] Add quantiles() to the statistics module

2019-04-06 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +12635 stage: -> patch review ___ Python tracker ___ ___

[issue36546] Add quantiles() to the statistics module

2019-04-06 Thread Raymond Hettinger
New submission from Raymond Hettinger : It is a common and useful data analysis technique to examine quartiles, deciles, and percentiles. It is especially helpful for comparing distinct datasets (heights of boys versus heights of girls) or for comparing against a reference distribution