Proposal: Add z-test to Scipy

Hello Scipy Developers!

I wanted to try my hand at contributing to my favorite Python package, SciPy, and would like to solicit feedback on the following:

Scipy currently does not have a z-test implementation and I think we should fix that. A z-test is super common in academia and industry. While one can use a t-test to get basically the same output, explicitly having a z-test does offer a level of completeness. It is also a great teaching tool. statsmodel does have a z-test but switching over to using that package while using SciPy for all your other tests is a bit … clunky.

This topic was discussed several years ago on Github but was abandoned. I’m grateful for Matt Haberland’s support over there and would like to help complete it.

So my question: Is any maintainer up for reviewing my PR? I’m soliciting interest before I get too deep into implementation.

Thank you!