New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOC: add example for stats.mstats.compare_median_ms
#14068
Conversation
Thanks @sudosoph! There are a few CI failures we'll need to fix. By clicking "Details" at the scipy.scipy (Main Lint) check and clicking some more until you get to the terminal output, we see
We need to follow PEP8 line length conventions, so please break those up. scipy.scipy (Main refguide_asv_check) is telling us:
It doesn't know what you meant when you referenced the target If you take a look at references in other files or at the numpydoc standards, you'll see two Oops, didn't mean to close! Re-opened though. Please try to fix these and I'll take another look. |
stats.mstats.compare_median_ms
Previously, the PR referenced "Introduction to Robust Estimation and Hypothesis Testing" and seemed to refer to this part: does not appear to be what is going on in the code. Instead, I added a reference to McKean & Schrader. "A comparison of methods for studentizing the sample median." I'm not sure if it actually suggests this test, but it will at least point the reader in the right direction. Without a good reference, I decided not to try to add notes about what this function actually does (returns just a p-value, apparently), because although it appears reasonable, I'm not sure how valid the test is. I would open an issue to review this stuff more thoroughly, but I think gh-14651 is leaning toward unifying |
[skip azp] [skip actions]
Thanks @sudosoph! |
Reference issue
#7168
Description
Added example for stats.mstats.compare_median_ms. Provided example usage for method.