summaryrefslogtreecommitdiffstats
path: root/Lib/statistics.py
Commit message (Collapse)AuthorAgeFilesLines
* Update nonstandard variable names (GH-26540) (GH-26546)Miss Islington (bot)2021-06-051-5/+5
|
* Improve speed and accuracy for correlation() (GH-26135) (GH-26151)Miss Islington (bot)2021-06-051-12/+14
|
* bpo-44151: Various grammar, word order, and markup fixes (GH-26344) (GH-26345)Miss Islington (bot)2021-05-251-8/+8
|
* bpo-44151: linear_regression() minor API improvements (GH-26199) (GH-26338)Miss Islington (bot)2021-05-251-15/+14
|
* Apply edits from Allen Downey's review of the linear_regression docs. ↵Miss Islington (bot)2021-05-171-6/+6
| | | | (GH-26176) (GH-26185)
* Eliminate duplicated calculations and unnecessary work for linear regression ↵Miss Islington (bot)2021-05-061-2/+7
| | | | (GH-25922) (GH-25945)
* Fix inconsistent fsum vs sum and fmean vs mean (GH-25898) (GH-25899)Miss Islington (bot)2021-05-041-3/+3
|
* bpo-38490: statistics: Add covariance, Pearson's correlation, and simple ↵Tymoteusz Wołodźko2021-04-251-1/+135
| | | | | linear regression (#16813) Co-authored-by: Tymoteusz Wołodźko <twolodzko+gitkraken@gmail.com
* bpo-43147: Remove archaic terminology. (GH-24462)Raymond Hettinger2021-02-081-4/+3
|
* bpo-38308: Add optional weighting to statistics.harmonic_mean() (GH-23914)Raymond Hettinger2020-12-241-18/+28
|
* Some reformatting (suggested by Black) and minor factoring. (GH-20865)Raymond Hettinger2020-06-141-31/+29
|
* bpo-40855: Fix ignored mu and xbar parameters (GH-20835)Raymond Hettinger2020-06-131-2/+4
|
* Minor code cleanups for statistics (GH-19873)Raymond Hettinger2020-05-031-76/+7
| | | | | * Minor cleanups: Removed unused code. Move C import near its Python version. * Clean-up whitespace
* bpo-40290: Add zscore() to statistics.NormalDist. (GH-19547)Raymond Hettinger2020-04-161-0/+11
|
* bpo-38385: Fix iterator/iterable terminology in statistics docs (GH-17111)Raymond Hettinger2019-11-121-1/+1
|
* bpo-38521: Fix error in NormalDist.__eq__() (GH-16840)Raymond Hettinger2019-10-181-1/+1
|
* Minor code and comment cleanup (GH-16315)Raymond Hettinger2019-09-211-1/+3
|
* bpo-36546: No longer a need to make "data" positional only (GH-16252)Raymond Hettinger2019-09-181-1/+1
|
* bpo-36018: Address more reviewer feedback (GH-15733)Raymond Hettinger2019-09-081-5/+27
|
* bpo-36324: Apply review comments from Allen Downey (GH-15693)Raymond Hettinger2019-09-051-21/+17
|
* bpo-37798: Add C fastpath for statistics.NormalDist.inv_cdf() (GH-15266)Dong-hee Na2019-08-231-73/+82
|
* bpo-36324: Update comments to include the target hash sums (GH-15110)Raymond Hettinger2019-08-041-0/+3
|
* Minor whitespace, indentation, and quoting changes to improve internal ↵Raymond Hettinger2019-07-211-53/+74
| | | | consistency and appease linters (GH-14888)
* bpo-36324: Make internal attributes for statistics.NormalDist() private. ↵Raymond Hettinger2019-07-211-34/+38
| | | | | | | | | | | | (GH-14871) * Make internals private * Finish making mu and sigma private * Add missing __hash__() method * Add blurb
* bpo-36546: Clean-up comments (GH-14857)Raymond Hettinger2019-07-191-9/+3
|
* bpo-36546: Mark first argument as position only (GH-14363)Raymond Hettinger2019-06-251-1/+1
|
* bpo-37158: Simplify and speed-up statistics.fmean() (GH-13832)Raymond Hettinger2019-06-051-4/+4
|
* bpo-36546: Add design notes to aid future discussions (GH-13769)Raymond Hettinger2019-06-031-0/+39
|
* bpo-36018: Make "seed" into a keyword only argument (GH-12921)Raymond Hettinger2019-04-231-1/+1
|
* bpo-35904: Add missing fmean() entry to the summary table (GH-12919)Raymond Hettinger2019-04-231-0/+1
|
* bpo-36546: Add statistics.quantiles() (#12710)Raymond Hettinger2019-04-231-4/+53
|
* bpo-27181: Add statistics.geometric_mean() (GH-12638)Raymond Hettinger2019-04-071-1/+21
|
* bpo-36326: Let inspect.getdoc() find docstrings for __slots__ (GH-12498)Raymond Hettinger2019-03-251-1/+2
|
* bpo-36324: Improved code formatting for the NormalDist.inv_cdf rational ↵Raymond Hettinger2019-03-191-46/+48
| | | | | approximation (GH-12448) https://bugs.python.org/issue36324
* NormalDist.inv_cdf(): In-line constants because the variable names were not ↵Raymond Hettinger2019-03-191-59/+46
| | | | informative (GH-12446)
* Add docstrings to the arithmetic methods in NormalDist() (GH-12426)Raymond Hettinger2019-03-191-14/+44
|
* bpo-36324: Add inv_cdf() to statistics.NormalDist() (GH-12377)Raymond Hettinger2019-03-191-0/+95
|
* Simplify overlap() formula for case where variances are equal (GH-12323)Raymond Hettinger2019-03-141-1/+1
|
* bpo-35892: Fix mode() and add multimode() (#12089)Raymond Hettinger2019-03-121-32/+40
|
* bpo-36169 : Add overlap() method to statistics.NormalDist (GH-12149)Raymond Hettinger2019-03-071-1/+36
|
* bpo-36018: Add special value tests and make minor tweaks to the docs (GH-12096)Raymond Hettinger2019-02-281-1/+1
| | | https://bugs.python.org/issue36018
* bpo-36018: Add properties for mean and stdev (GH-12022)Raymond Hettinger2019-02-241-0/+10
| | | | | | | | | | | | Responding to suggestions on the tracker and some off-line suggestions. Davin suggested that english named accessors instead of greek letters would result in more intelligible user code. Steven suggested that the parameters still need to be *mu* and *theta* which are used elsewhere (and I noted those parameter names are used in linked-to resources). Michael suggested proving-out the API by seeing whether it generalized to *Lognormal*. I did so and found that Lognormal distribution parameters *mu* and *sigma* do not represent the mean and standard deviation of the lognormal distribution (instead, they are for the underlying regular normal distribution). Putting these ideas together, we have NormalDist parameterized by *mu* and *sigma* but offering English named properties for accessors. That gives lets us match other API that access mu and sigma, it matches the external resources on the topic, gives us clear english names in user code. The API extends nicely to LogNormal where the parameters and the summary statistic accessors are not the same. https://bugs.python.org/issue36018
* bpo-36018: Make __pos__ return a distinct instance of NormDist (GH-12009)Raymond Hettinger2019-02-241-1/+1
| | | https://bugs.python.org/issue36018
* bpo-36018: Add the NormalDist class to the statistics module (GH-11973)Raymond Hettinger2019-02-231-1/+155
|
* bpo-35904: Add statistics.fmean() (GH-11892)Raymond Hettinger2019-02-211-1/+28
|
* bpo-29919: Remove unused imports found by pyflakes (#137)Victor Stinner2017-03-271-2/+1
| | | Make also minor PEP8 coding style fixes on modified imports.
* Issue #27181 remove geometric_mean and defer for 3.7.Steven D'Aprano2016-10-041-268/+1
|
* Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Raymond Hettinger2016-08-301-1/+1
|
* Remove support for nth root of negative numbers with odd powers.Steven D'Aprano2016-08-241-4/+3
| | | | | | | Although nth roots of negative numbers are real for odd n, the statistics module doesn't make use of this. Remove support for negative roots from the private _nth_root function, which simplifies the test suite.
* Add geometric_mean to __all__Steven D'Aprano2016-08-241-1/+2
|