From charlesr.harris at gmail.com Tue Jul 21 17:53:32 2020 From: charlesr.harris at gmail.com (Charles R Harris) Date: Tue, 21 Jul 2020 15:53:32 -0600 Subject: [SciPy-User] NumPy 1.19.1 released. Message-ID: Hi All, On behalf of the NumPy team I am pleased to announce that NumPy 1.19.1 has been released. This release supports Python 3.6-3.8 and may be built with the latest Python 3.9 beta. It fixes several bugs found in the 1.19.0 release, replaces several functions deprecated in the upcoming Python-3.9 release, has improved support for AIX, and has a number of development related updates to keep CI working with recent upstream changes. Downstream developers should use Cython >= 0.29.21 when building for Python 3.9 and Cython >= 0.29.16 when building for Python 3.8. OpenBLAS >= 3.7 is needed to avoid wrong results on the Skylake architecture. The NumPy Wheels for this release can be downloaded from PyPI , source archives, release notes, and wheel hashes are available from Github . Linux users will need pip >= 0.19.3 in order to install manylinux2010 and manylinux2014 wheels. *Contributors* A total of 15 people contributed to this release. People with a "+" by their names contributed a patch for the first time. - Abhinav Reddy + - Anirudh Subramanian - Antonio Larrosa + - Charles Harris - Chunlin Fang - Eric Wieser - Etienne Guesnet + - Kevin Sheppard - Matti Picus - Raghuveer Devulapalli - Roman Yurchak - Ross Barnowski - Sayed Adel - Sebastian Berg - Tyler Reddy *Pull requests merged* A total of 25 pull requests were merged for this release. - #16649: MAINT, CI: disable Shippable cache - #16652: MAINT: Replace PyUString_GET_SIZE with PyUnicode_GetLength. - #16654: REL: Fix outdated docs link - #16656: BUG: raise IEEE exception on AIX - #16672: BUG: Fix bug in AVX complex absolute while processing array of... - #16693: TST: Add extra debugging information to CPU features detection - #16703: BLD: Add CPU entry for Emscripten / WebAssembly - #16705: TST: Disable Python 3.9-dev testing. - #16714: MAINT: Disable use_hugepages in case of ValueError - #16724: BUG: Fix PyArray_SearchSorted signature. - #16768: MAINT: Fixes for deprecated functions in scalartypes.c.src - #16772: MAINT: Remove unneeded call to PyUnicode_READY - #16776: MAINT: Fix deprecated functions in scalarapi.c - #16779: BLD, ENH: Add RPATH support for AIX - #16780: BUG: Fix default fallback in genfromtxt - #16784: BUG: Added missing return after raising error in methods.c - #16795: BLD: update cython to 0.29.21 - #16832: MAINT: setuptools 49.2.0 emits a warning, avoid it - #16872: BUG: Validate output size in bin- and multinomial - #16875: BLD, MAINT: Pin setuptools - #16904: DOC: Reconstruct Testing Guideline. - #16905: TST, BUG: Re-raise MemoryError exception in test_large_zip's... - #16906: BUG, DOC: Fix bad MPL kwarg. - #16916: BUG: Fix string/bytes to complex assignment - #16922: REL: Prepare for NumPy 1.19.1 release Cheers, Charles Harris -------------- next part -------------- An HTML attachment was scrubbed... URL: From florin at andrei.myip.org Wed Jul 29 00:21:10 2020 From: florin at andrei.myip.org (Florin Andrei) Date: Tue, 28 Jul 2020 21:21:10 -0700 Subject: [SciPy-User] stats significance tests: why no functions for proportions? Message-ID: <892cfa659010771af5ecdb49d709ca36@andrei.myip.org> See this cheatsheet I made for myself for a few basic stats problems: https://github.com/FlorinAndrei/misc/blob/master/ch24_review.ipynb These are all significance tests - I'm testing claims. Whenever I test a mean (one sample), or I compare two means (two samples), there's a convenient scipy.stats function that does everything in one line. But when I test a proportion (one sample), or I compare two proportions (two samples), I need to compute the z-score first, and then feed that into stats.norm.cdf(). Why aren't there any functions for proportions, where I could just feed the sample(s) and the functions would return the P-value in each case? -- Florin Andrei https://florin.myip.org/