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
BUG: Fix unequal varcorrection in tukeyhsd #9175
base: main
Are you sure you want to change the base?
BUG: Fix unequal varcorrection in tukeyhsd #9175
Conversation
Great, thanks for finding this mistake. Do you have an example that uses this code path? |
Hello @kuangzhexiang! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2024-04-07 02:49:39 UTC |
add a unit test in examples/try_tukey_hsd.py, is it ok? |
No, unit tests need to go into a module that starts with tests The most appropriate test file for Games-Howell unit test is Also, the unit test need to go into a function with name starting with "test", see the other cases The example files like If Games-Howell test verifies now against R, then we can add it to the official docs. I will look at that at the end of this PR. If I understand correctly, then related PR and issue are #7332 and #8396 |
thanks a lot, added the unit test in test_pairwise.py |
NumPy's guide.
like tests in try_tukey_hsd.py
With the first dataset, results should be the same, as below.