Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | GH-99155: Fix `NormalDist` pickle with `0` and `1` protocols (GH99156) | Nikita Sobolev | 2022-11-06 |
| | |||
* | Improve accuracy for Spearman's rank correlation coefficient. (#96392) | Raymond Hettinger | 2022-08-29 |
| | |||
* | Prepare private _rank() function to be made public. (#96372) | Raymond Hettinger | 2022-08-28 |
| | |||
* | GH-95861: Add support for Spearman's rank correlation coefficient (GH-95863) | Raymond Hettinger | 2022-08-18 |
| | |||
* | Statistics inv_cdf sync with corresponding random module normal ↵ | Raymond Hettinger | 2022-07-26 |
| | | | | distributions (#95265) | ||
* | Fix typo in _exact_ratio comment. (GH-94789) | Benjamin Peterson | 2022-07-12 |
| | |||
* | Small speed-up for NormalDist.samples (GH-94730) | Raymond Hettinger | 2022-07-10 |
| | |||
* | Fix inconsistent return type for statistics median_grouped() gh-92531 (#92533) | Raymond Hettinger | 2022-05-09 |
| | |||
* | Clean-up and simplify median_grouped(). Vastly improve its docstring. (#92324) | Raymond Hettinger | 2022-05-05 |
| | |||
* | Fix renamed "total" variable (#92287) | Raymond Hettinger | 2022-05-03 |
| | | | | * Fix renamed "total" variable * Keep nan/inf handling consistent between versions | ||
* | Compute from_sample() in a single pass over the data (#92284) | Raymond Hettinger | 2022-05-03 |
| | |||
* | The stdev calculation is more accurate computing its own mean (#92220) | Raymond Hettinger | 2022-05-03 |
| | |||
* | Statistics internals: Make fewer calls to _coerce() when data types are ↵ | Raymond Hettinger | 2022-02-28 |
| | | | | mixed (GH-31619) | ||
* | bpo-46257: Convert statistics._ss() to a single pass algorithm (GH-30403) | Raymond Hettinger | 2022-01-05 |
| | |||
* | Fix double-space in exception message (GH-29955) | Ned Batchelder | 2021-12-08 |
| | |||
* | bpo-45876: Have stdev() also use decimal specific square root. (GH-29869) | Raymond Hettinger | 2021-11-30 |
| | |||
* | bpo-45876: Correctly rounded stdev() and pstdev() for the Decimal case ↵ | Raymond Hettinger | 2021-11-30 |
| | | | | (GH-29828) | ||
* | bpo-45876: Improve accuracy for stdev() and pstdev() in statistics (GH-29736) | Raymond Hettinger | 2021-11-26 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Inlined code from variance functions * Added helper functions for the float square root of a fraction * Call helper functions * Add blurb * Fix over-specified test * Add a test for the _sqrt_frac() helper function * Increase the tested range * Add type hints to the internal function. * Fix test for correct rounding * Simplify ⌊√(n/m)⌋ calculation Co-authored-by: Mark Dickinson <dickinsm@gmail.com> * Add comment and beef-up tests * Test for zero denominator * Add algorithmic references * Add test for the _isqrt_frac_rto() helper function. * Compute the 109 instead of hard-wiring it * Stronger test for _isqrt_frac_rto() * Bigger range * Bigger range * Replace float() call with int/int division to be parallel with the other code path. * Factor out division. Update proof link. Remove internal type declaration Co-authored-by: Mark Dickinson <dickinsm@gmail.com> | ||
* | bpo-45766: Add direct proportion option to linear_regression(). (#29490) | Raymond Hettinger | 2021-11-21 |
| | | | | | | | | | | | | | | | | | * bpo-45766: Add direct proportion option to linear_regression(). * Update 2021-11-09-09-18-06.bpo-45766.dvbcMf.rst * Use ellipsis to avoid round-off issues. * Update Misc/NEWS.d/next/Library/2021-11-09-09-18-06.bpo-45766.dvbcMf.rst Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> * Update signature in main docs * Fix missing comma Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> | ||
* | bpo-45851: Avoid full sort in statistics.multimode() (#29662) | Raymond Hettinger | 2021-11-20 |
| | | | Suggested by Stefan Pochmann. | ||
* | Factor-out constant calculation. (GH-29491) | Raymond Hettinger | 2021-11-09 |
| | |||
* | bpo-20499: Rounding error in statistics.pvariance (GH-28230) | Raymond Hettinger | 2021-09-08 |
| | |||
* | bpo-39218: Improve accuracy of variance calculation (GH-27960) | Raymond Hettinger | 2021-08-30 |
| | |||
* | Update nonstandard variable names (GH-26540) | Raymond Hettinger | 2021-06-04 |
| | |||
* | bpo-44151: Various grammar, word order, and markup fixes (GH-26344) | Raymond Hettinger | 2021-05-24 |
| | |||
* | bpo-44151: linear_regression() minor API improvements (GH-26199) | Zack Kneupper | 2021-05-24 |
| | |||
* | bpo-44150: Support optional weights parameter for fmean() (GH-26175) | Raymond Hettinger | 2021-05-20 |
| | |||
* | Apply edits from Allen Downey's review of the linear_regression docs. (GH-26176) | Raymond Hettinger | 2021-05-16 |
| | |||
* | Improve speed and accuracy for correlation() (GH-26135) | Raymond Hettinger | 2021-05-15 |
| | |||
* | Eliminate duplicated calculations and unnecessary work for linear regression ↵ | Raymond Hettinger | 2021-05-06 |
| | | | | (GH-25922) | ||
* | Fix inconsistent fsum vs sum and fmean vs mean (GH-25898) | Raymond Hettinger | 2021-05-04 |
| | |||
* | bpo-38490: statistics: Add covariance, Pearson's correlation, and simple ↵ | Tymoteusz Wołodźko | 2021-04-25 |
| | | | | | linear regression (#16813) Co-authored-by: Tymoteusz Wołodźko <twolodzko+gitkraken@gmail.com | ||
* | bpo-43147: Remove archaic terminology. (GH-24462) | Raymond Hettinger | 2021-02-07 |
| | |||
* | bpo-38308: Add optional weighting to statistics.harmonic_mean() (GH-23914) | Raymond Hettinger | 2020-12-23 |
| | |||
* | Some reformatting (suggested by Black) and minor factoring. (GH-20865) | Raymond Hettinger | 2020-06-13 |
| | |||
* | bpo-40855: Fix ignored mu and xbar parameters (GH-20835) | Raymond Hettinger | 2020-06-13 |
| | |||
* | Minor code cleanups for statistics (GH-19873) | Raymond Hettinger | 2020-05-02 |
| | | | | | * 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 Hettinger | 2020-04-16 |
| | |||
* | bpo-38385: Fix iterator/iterable terminology in statistics docs (GH-17111) | Raymond Hettinger | 2019-11-11 |
| | |||
* | bpo-38521: Fix error in NormalDist.__eq__() (GH-16840) | Raymond Hettinger | 2019-10-18 |
| | |||
* | Minor code and comment cleanup (GH-16315) | Raymond Hettinger | 2019-09-20 |
| | |||
* | bpo-36546: No longer a need to make "data" positional only (GH-16252) | Raymond Hettinger | 2019-09-17 |
| | |||
* | bpo-36018: Address more reviewer feedback (GH-15733) | Raymond Hettinger | 2019-09-08 |
| | |||
* | bpo-36324: Apply review comments from Allen Downey (GH-15693) | Raymond Hettinger | 2019-09-05 |
| | |||
* | bpo-37798: Add C fastpath for statistics.NormalDist.inv_cdf() (GH-15266) | Dong-hee Na | 2019-08-23 |
| | |||
* | bpo-36324: Update comments to include the target hash sums (GH-15110) | Raymond Hettinger | 2019-08-04 |
| | |||
* | Minor whitespace, indentation, and quoting changes to improve internal ↵ | Raymond Hettinger | 2019-07-21 |
| | | | | consistency and appease linters (GH-14888) | ||
* | bpo-36324: Make internal attributes for statistics.NormalDist() private. ↵ | Raymond Hettinger | 2019-07-21 |
| | | | | | | | | | | | | (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 Hettinger | 2019-07-19 |
| | |||
* | bpo-36546: Mark first argument as position only (GH-14363) | Raymond Hettinger | 2019-06-25 |
| |